#407FA8
Closest named color: Cerulean (#457B9D). oklch(57.2% 0.091 239.5), rgb(64, 127, 168).
Aa
Black text reads best on this color (4.81:1).
About this color
#407FA8 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.091 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean (#457B9D), ΔE 0.018 away. Black text reads best on it, at 4.81:1.
| Hue family | Blues |
| Lightness | medium-dark (57%) |
| Chroma | moderately saturated (0.091) |
| Temperature | cool |
| Nearest name | Cerulean (#457B9D) |
| Black text | 4.81:1 |
| White text | 4.35:1 |
Values
| HEX | #407FA8 |
| RGB | rgb(64, 127, 168) |
| HSL | hsl(204, 45%, 45%) |
| OKLCH | oklch(57.2% 0.091 239.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 #407FA8 | 4.35:1 | AA large text | Lc -75.5 | Fine for body text |
| Black text on #407FA8 | 4.81:1 | AA | Lc 34.1 | Non-text elements, placeholder text |
| #407FA8 text on white | 4.35:1 | AA large text | Lc 70.0 | Content text, not long reading |
| #407FA8 text on black | 4.81:1 | AA | Lc -31.7 | Non-text elements, placeholder text |
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 600.
-
Step 50
50
#F2F6F9
oklch(97.1% 0.006 239.8)
-
Step 100
100
#E3EBF1
oklch(93.6% 0.012 239.9)
-
Step 200
200
#CCDCE7
oklch(88.6% 0.023 237.7)
-
Step 300
300
#A9C5D9
oklch(80.9% 0.041 239.1)
-
Step 400
400
#7BA7C5
oklch(70.8% 0.065 238.7)
-
Step 500
500
#5890B7
oklch(63% 0.084 240.3)
-
Step 600
600 (this color)
#407FA8
oklch(57.2% 0.091 239.5)
-
Step 700
700
#2D678B
oklch(49.2% 0.083 238.9)
-
Step 800
800
#265471
oklch(42.7% 0.07 239)
-
Step 900
900
#24455C
oklch(37.6% 0.055 240.8)
-
Step 950
950
#162936
oklch(27.1% 0.035 239.7)
#407FA8 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) | #6C7FAA | 0.049 |
| Deuteranopia (no green cones) | #5E74A7 | 0.041 |
| Tritanopia (no blue cones) | #00898D | 0.066 |
| Achromatopsia (no color) | #797979 | 0.091 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #407FA8
#407FA8
oklch(57.2% 0.091 239.5)
- #9F6A3E
#9F6A3E
oklch(57.1% 0.09 59.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 #407FA8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cerulean #457B9D ΔE 0.018
- Steel Blue #4682B4 ΔE 0.021
- Stormy Blue #507B9C ΔE 0.022
- Cool Blue #4984B8 ΔE 0.029
- Off Blue #5684AE ΔE 0.029
- Dull Blue #49759C ΔE 0.030
- Blue NCS #118AB2 ΔE 0.036
- Dusty Blue #5A86AD ΔE 0.036
Use #407FA8 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.