{"inline_daily":{"accessible-color-palette-generator":{"accent_action":"Accent Action","analogous":"Analogous","base_color":"Base Color","complementary":"Complementary","copied":"Copied!","copy":"Copy","harmony":"Harmony","live_ui_component_preview":"Live UI Component Preview","monochromatic":"Monochromatic","on_dark":"On Dark","on_white":"On White","primary_action":"Primary Action","random":"Random","role_names":"Surface / tint,Primary brand,Accent action,Dark neutral,Support accent","sample_typography_hierarchy_using_the_generated":"Sample typography hierarchy using the generated palette ensuring high readability and seamless visual weight balance.","tailwind_css_config":"Tailwind CSS Config","triadic":"Triadic","warm_cool":"Warm & Cool","wcag_fail":"Fail","copy_hex_title":"Copy HEX code","version_pro":"Version 2.4 Pro","aa_large":"AA Large"}},"docs_daily":{"tools":{"accessible_color_palette_generator":{"content":{"title":"Accessible colour palette: WCAG contrast ratios and example","intro":"From one base colour, the tool builds a five-role palette (surface, primary, accent, dark neutral, soft tint) and measures the contrast of each colour on white and on the dark background #0f172a. The badge follows the WCAG thresholds: 7:1 for AAA, 4.5:1 for AA, 3:1 for large text (AA Large badge).","details":"
Base #3b82f6, complementary mode (HSL 217.2°, 91.2%, 59.8%). The primary stays #3b82f6, since its lightness is already between 35 and 65%: 3.68:1 on white, so AA Large only, and 4.85:1 on #0f172a (AA). The orange accent #f29b0d only works on the dark background (8.05:1, AAA; 2.22:1 on white). The neutral #2b313b reaches 13.08:1 on white.
Sources and dates: W3C, WCAG 2.2 (criteria 1.4.3, 1.4.6 and 1.4.11, glossary \"relative luminance\"), Recommendation of 12 December 2024; linearisation threshold 0.04045 (0.03928 before May 2021, no effect on 8-bit values) (checked 10/14/2026).
"}},"accessible-color-palette-generator":{"faqs":[{"question":"What contrast ratio does WCAG require for text?","answer":"Level AA requires at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold). Level AAA raises this to 7:1 and 4.5:1."},{"question":"Why does blue #3b82f6 fail AA on white?","answer":"Its contrast on white is about 3.7:1, below the 4.5:1 threshold for body text. It works for a button or a large heading (3:1), not for a paragraph."},{"question":"Is white text on a bright colour always readable?","answer":"No. White has a relative luminance of 1, so an orange such as #f29b0d only gives 2.2:1 against it. On the dark background #0f172a, the same orange reaches 8:1."},{"question":"Which WCAG version does the tool apply?","answer":"The contrast thresholds and luminance formula of WCAG 2.2, the W3C Recommendation of 12 December 2024, which match WCAG 2.1 on this point. Linearisation uses the 0.04045 threshold."}]}}}}