#5997EC
Closest named color: Cornflower Blue (#6495ED). oklch(67.3% 0.142 256.7), rgb(89, 151, 236).
Aa
Black text reads best on this color (7.06:1).
About this color
#5997EC is a medium-light, vivid blue. In OKLCH its lightness is 67%, its chroma 0.142 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.012 away. Black text reads best on it, at 7.06:1.
| Hue family | Blues |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.142) |
| Temperature | cool |
| Nearest name | Cornflower Blue (#6495ED) |
| Black text | 7.06:1 |
| White text | 2.97:1 |
Values
| HEX | #5997EC |
| RGB | rgb(89, 151, 236) |
| HSL | hsl(215, 79%, 64%) |
| OKLCH | oklch(67.3% 0.142 256.7) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #5997EC | 2.97:1 | Fails | Lc -61.4 | Content text, not long reading |
| Black text on #5997EC | 7.06:1 | AAA | Lc 48.0 | Large or bold text, headings |
| #5997EC text on white | 2.97:1 | Fails | Lc 56.1 | Large or bold text, headings |
| #5997EC text on black | 7.06:1 | AAA | Lc -45.7 | Large or bold text, headings |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.
-
Step 50
50
#F0F6FE
oklch(97.1% 0.012 255.5)
-
Step 100
100
#DFEBFB
oklch(93.6% 0.025 255.6)
-
Step 200
200
#C5DBFA
oklch(88.5% 0.049 256.9)
-
Step 300
300
#9CC3FA
oklch(80.9% 0.089 257)
-
Step 400
400 (this color)
#5997EC
oklch(67.3% 0.142 256.7)
-
Step 500
500
#3487F4
oklch(63% 0.182 256.8)
-
Step 600
600
#006EE2
oklch(55.6% 0.196 256.8)
-
Step 700
700
#005CBF
oklch(49% 0.172 256.8)
-
Step 800
800
#004B9E
oklch(42.6% 0.15 256.7)
-
Step 900
900
#0D407F
oklch(37.8% 0.119 256.6)
-
Step 950
950
#0A264A
oklch(27% 0.075 256.3)
#5997EC with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #729DEF | 0.033 |
| Deuteranopia (no green cones) | #5E8FEA | 0.021 |
| Tritanopia (no blue cones) | #00AAB6 | 0.117 |
| Achromatopsia (no color) | #969696 | 0.142 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5997EC
#5997EC
oklch(67.3% 0.142 256.7)
- #C68800
#C68800
oklch(67.2% 0.141 76.6)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #5997EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower Blue #6495ED ΔE 0.012
- Chefchaouen Blue #4895EF ΔE 0.017
- Dark Sky Blue #448EE4 ΔE 0.034
- Soft Blue #6488EA ΔE 0.039
- Dodger Blue #1E90FF ΔE 0.053
- Perrywinkle #8F8CE7 ΔE 0.066
- Periwinkle Blue #8F99FB ΔE 0.068
- Lavender Blue #8B88F8 ΔE 0.071
Use #5997EC in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.