#40839E
Closest named color: Cerulean (#457B9D). oklch(57.7% 0.079 227), rgb(64, 131, 158).
Aa
Black text reads best on this color (4.95:1).
About this color
#40839E is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 58%, its chroma 0.079 and its hue 227°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean (#457B9D), ΔE 0.023 away. Black text reads best on it, at 4.95:1.
| Hue family | Teals and cyans |
| Lightness | medium-dark (58%) |
| Chroma | moderately saturated (0.079) |
| Temperature | cool |
| Nearest name | Cerulean (#457B9D) |
| Black text | 4.95:1 |
| White text | 4.23:1 |
Values
| HEX | #40839E |
| RGB | rgb(64, 131, 158) |
| HSL | hsl(197, 42%, 44%) |
| OKLCH | oklch(57.7% 0.079 227) |
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 #40839E | 4.23:1 | AA large text | Lc -74.6 | Content text, not long reading |
| Black text on #40839E | 4.95:1 | AA | Lc 35.0 | Non-text elements, placeholder text |
| #40839E text on white | 4.23:1 | AA large text | Lc 69.1 | Content text, not long reading |
| #40839E text on black | 4.95:1 | AA | Lc -32.6 | 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
#F2F6F8
oklch(97.1% 0.005 228.8)
-
Step 100
100
#E3EBEF
oklch(93.5% 0.01 228.9)
-
Step 200
200
#CCDCE3
oklch(88.5% 0.02 225.7)
-
Step 300
300
#A9C6D3
oklch(80.9% 0.036 226.7)
-
Step 400
400
#7BA8BC
oklch(70.6% 0.056 227.2)
-
Step 500
500
#5793AC
oklch(63.2% 0.073 226.7)
-
Step 600
600 (this color)
#40839E
oklch(57.7% 0.079 227)
-
Step 700
700
#2B6981
oklch(49.1% 0.074 226.8)
-
Step 800
800
#255669
oklch(42.8% 0.061 226.4)
-
Step 900
900
#244755
oklch(37.8% 0.047 226.2)
-
Step 950
950
#162932
oklch(26.9% 0.03 229.7)
#40839E 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) | #75819F | 0.060 |
| Deuteranopia (no green cones) | #67779E | 0.052 |
| Tritanopia (no blue cones) | #008B8C | 0.051 |
| Achromatopsia (no color) | #7B7B7B | 0.080 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40839E
#40839E
oklch(57.7% 0.079 227)
- #A16B50
#A16B50
oklch(57.8% 0.08 47.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 #40839E, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Cerulean #457B9D ΔE 0.023
- Stormy Blue #507B9C ΔE 0.025
- Teal Blue #01889F ΔE 0.029
- Off Blue #5684AE ΔE 0.035
- Blue NCS #118AB2 ΔE 0.036
- Steel Blue #4682B4 ΔE 0.037
- Dusty Blue #5A86AD ΔE 0.037
- Dull Blue #49759C ΔE 0.041
Use #40839E 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.