#40698C
Closest named color: Denim (#3B638C). oklch(50.6% 0.073 245.7), rgb(64, 105, 140).
Aa
White text reads best on this color (5.80:1).
About this color
#40698C is a medium-dark, moderately saturated blue. In OKLCH its lightness is 51%, its chroma 0.073 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.020 away. White text reads best on it, at 5.80:1.
| Hue family | Blues |
| Lightness | medium-dark (51%) |
| Chroma | moderately saturated (0.073) |
| Temperature | cool |
| Nearest name | Denim (#3B638C) |
| Black text | 3.61:1 |
| White text | 5.80:1 |
Values
| HEX | #40698C |
| RGB | rgb(64, 105, 140) |
| HSL | hsl(208, 37%, 40%) |
| OKLCH | oklch(50.6% 0.073 245.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 #40698C | 5.80:1 | AA | Lc -84.2 | Fine for body text |
| Black text on #40698C | 3.61:1 | AA large text | Lc 25.1 | Dividers and decoration only |
| #40698C text on white | 5.80:1 | AA | Lc 78.9 | Fine for body text |
| #40698C text on black | 3.61:1 | AA large text | Lc -22.9 | Dividers and decoration only |
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 700.
-
Step 50
50
#F3F6F8
oklch(97.1% 0.004 236.5)
-
Step 100
100
#E4EBF0
oklch(93.6% 0.01 238.5)
-
Step 200
200
#CFDBE6
oklch(88.6% 0.02 245.7)
-
Step 300
300
#AFC3D6
oklch(80.8% 0.035 246.9)
-
Step 400
400
#84A5C2
oklch(70.8% 0.056 245.2)
-
Step 500
500
#648EB3
oklch(63.1% 0.073 245.9)
-
Step 600
600
#4B789E
oklch(55.6% 0.077 245.3)
-
Step 700
700 (this color)
#40698C
oklch(50.6% 0.073 245.7)
-
Step 800
800
#32526E
oklch(42.6% 0.06 246.2)
-
Step 900
900
#2C4459
oklch(37.6% 0.047 245.9)
-
Step 950
950
#1A2834
oklch(27% 0.03 245.1)
#40698C 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) | #5A6A8E | 0.033 |
| Deuteranopia (no green cones) | #50628B | 0.026 |
| Tritanopia (no blue cones) | #137175 | 0.061 |
| Achromatopsia (no color) | #656565 | 0.073 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #40698C
#40698C
oklch(50.6% 0.073 245.7)
- #815C36
#815C36
oklch(50.5% 0.072 65.7)
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 #40698C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Denim #3B638C ΔE 0.020
- Muted Blue #3B719F ΔE 0.033
- Dusky Blue #475F94 ΔE 0.036
- Metallic Blue #4F738E ΔE 0.036
- Ocean Blue #03719C ΔE 0.041
- Peacock Blue #016795 ΔE 0.041
- Dull Blue #49759C ΔE 0.042
- Sea Blue #047495 ΔE 0.042
Use #40698C 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.