#7F98DA
Closest named color: Cornflower Blue (#6495ED). oklch(68.7% 0.102 267.8), rgb(127, 152, 218).
Aa
Black text reads best on this color (7.40:1).
About this color
#7F98DA is a medium-light, moderately saturated blue. In OKLCH its lightness is 69%, its chroma 0.102 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower Blue (#6495ED), ΔE 0.043 away. Black text reads best on it, at 7.40:1.
| Hue family | Blues |
| Lightness | medium-light (69%) |
| Chroma | moderately saturated (0.102) |
| Temperature | cool |
| Nearest name | Cornflower Blue (#6495ED) |
| Black text | 7.40:1 |
| White text | 2.83:1 |
Values
| HEX | #7F98DA |
| RGB | rgb(127, 152, 218) |
| HSL | hsl(224, 55%, 68%) |
| OKLCH | oklch(68.7% 0.102 267.8) |
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 #7F98DA | 2.83:1 | Fails | Lc -59.6 | Large or bold text, headings |
| Black text on #7F98DA | 7.40:1 | AAA | Lc 49.7 | Large or bold text, headings |
| #7F98DA text on white | 2.83:1 | Fails | Lc 54.3 | Large or bold text, headings |
| #7F98DA text on black | 7.40:1 | AAA | Lc -47.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
#F3F5FB
oklch(97% 0.008 271.3)
-
Step 100
100
#E4EAF7
oklch(93.6% 0.019 266)
-
Step 200
200
#CFD9F1
oklch(88.5% 0.035 267.6)
-
Step 300
300
#AFC0EB
oklch(80.9% 0.064 268.1)
-
Step 400
400 (this color)
#7F98DA
oklch(68.7% 0.102 267.8)
-
Step 500
500
#6785D8
oklch(63.1% 0.13 267.6)
-
Step 600
600
#4F6DC6
oklch(55.6% 0.142 267.6)
-
Step 700
700
#405AAB
oklch(49% 0.133 267.9)
-
Step 800
800
#354A8A
oklch(42.6% 0.109 267.9)
-
Step 900
900
#2E3F6F
oklch(37.8% 0.085 267.5)
-
Step 950
950
#1B2541
oklch(27% 0.054 267.8)
#7F98DA 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) | #819EDD | 0.016 |
| Deuteranopia (no green cones) | #7896D8 | 0.011 |
| Tritanopia (no blue cones) | #60A6AF | 0.093 |
| Achromatopsia (no color) | #999999 | 0.102 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #7F98DA
#7F98DA
oklch(68.7% 0.102 267.8)
- #B5974A
#B5974A
oklch(68.8% 0.103 88.2)
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 #7F98DA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cornflower Blue #6495ED ΔE 0.043
- Perrywinkle #8F8CE7 ΔE 0.045
- Periwinkle Blue #8F99FB ΔE 0.054
- Faded Blue #658CBB ΔE 0.064
- Chefchaouen Blue #4895EF ΔE 0.065
- Soft Blue #6488EA ΔE 0.065
- Cool Gray #8D99AE ΔE 0.069
- Lavender Blue #8B88F8 ΔE 0.069
Use #7F98DA 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.