#5998F2
Closest named color: Cornflower Blue (#6495ED). oklch(67.9% 0.149 257.5), rgb(89, 152, 242).
Aa
Black text reads best on this color (7.19:1).
About this color
#5998F2 is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.149 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.013 away. Black text reads best on it, at 7.19:1.
| Hue family | Blues |
| Lightness | medium-light (68%) |
| Chroma | vivid (0.149) |
| Temperature | cool |
| Nearest name | Cornflower Blue (#6495ED) |
| Black text | 7.19:1 |
| White text | 2.91:1 |
Values
| HEX | #5998F2 |
| RGB | rgb(89, 152, 242) |
| HSL | hsl(215, 85%, 65%) |
| OKLCH | oklch(67.9% 0.149 257.5) |
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 #5998F2 | 2.91:1 | Fails | Lc -60.6 | Content text, not long reading |
| Black text on #5998F2 | 7.19:1 | AAA | Lc 48.7 | Large or bold text, headings |
| #5998F2 text on white | 2.91:1 | Fails | Lc 55.3 | Large or bold text, headings |
| #5998F2 text on black | 7.19:1 | AAA | Lc -46.5 | 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
#DFEBFC
oklch(93.6% 0.026 257)
-
Step 200
200
#C4DBFC
oklch(88.5% 0.052 257.4)
-
Step 300
300
#9BC3FD
oklch(81% 0.093 257.6)
-
Step 400
400 (this color)
#5998F2
oklch(67.9% 0.149 257.5)
-
Step 500
500
#3186F9
oklch(63.1% 0.19 257.4)
-
Step 600
600
#006DE5
oklch(55.6% 0.201 257.4)
-
Step 700
700
#005BC2
oklch(49% 0.177 257.5)
-
Step 800
800
#004AA1
oklch(42.6% 0.155 257.6)
-
Step 900
900
#0B3F82
oklch(37.8% 0.125 257.4)
-
Step 950
950
#09254C
oklch(26.9% 0.08 257.7)
#5998F2 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) | #719FF6 | 0.033 |
| Deuteranopia (no green cones) | #5B91F0 | 0.018 |
| Tritanopia (no blue cones) | #00ADB9 | 0.124 |
| Achromatopsia (no color) | #979797 | 0.149 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #5998F2
#5998F2
oklch(67.9% 0.149 257.5)
- #C88A00
#C88A00
oklch(67.8% 0.142 76.9)
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 #5998F2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower Blue #6495ED ΔE 0.013
- Chefchaouen Blue #4895EF ΔE 0.018
- Dark Sky Blue #448EE4 ΔE 0.039
- Soft Blue #6488EA ΔE 0.041
- Dodger Blue #1E90FF ΔE 0.051
- Periwinkle Blue #8F99FB ΔE 0.064
- Perrywinkle #8F8CE7 ΔE 0.066
- Lavender Blue #8B88F8 ΔE 0.068
Use #5998F2 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.