blue-600
#155dfcTailwind CSS v4.3.3 blue-600 is oklch(54.6% 0.245 262.881) in OKLCH, the format Tailwind uses, and #155dfc in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-blue-600/50.
Text on blue-600
- Aawhite5.26:1Readable · AA
- Aablack4:1Hard to read
- Aablue-504.82:1Readable · AA
Most readable text from the blue scale: blue-50
Tailwind blue scale
Step 600 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind blue-600?
blue-600 is #155dfc in HEX, rgb(21 93 252) in RGB and oklch(54.6% 0.245 262.881) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind blue-600 accessible for text?
White text on blue-600 has a contrast ratio of 5.26:1 and black text 4:1. WCAG AA needs 4.5:1 for normal text and 3:1 for large text, so white text is the better choice here.
How do I use blue-600 in Tailwind CSS?
Add bg-blue-600, text-blue-600 or border-blue-600 to an element. In your own CSS use var(--color-blue-600), the CSS variable Tailwind v4 creates for every color.