#064874
Closest named color: Twilight Blue (#0A437A). oklch(38.9% 0.095 245.6), rgb(6, 72, 116).
Aa
White text reads best on this color (9.60:1).
About this color
#064874 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.095 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.020 away. White text reads best on it, at 9.60:1.
| Hue family | Blues |
| Lightness | dark (39%) |
| Chroma | moderately saturated (0.095) |
| Temperature | cool |
| Nearest name | Twilight Blue (#0A437A) |
| Black text | 2.18:1 |
| White text | 9.60:1 |
Values
| HEX | #064874 |
| RGB | rgb(6, 72, 116) |
| HSL | hsl(204, 90%, 24%) |
| OKLCH | oklch(38.9% 0.095 245.6) |
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 #064874 | 9.60:1 | AAA | Lc -96.0 | Preferred for body text |
| Black text on #064874 | 2.18:1 | Fails | Lc 12.2 | Not readable |
| #064874 text on white | 9.60:1 | AAA | Lc 91.8 | Preferred for body text |
| #064874 text on black | 2.18:1 | Fails | Lc -10.6 | Not readable |
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 900.
-
Step 50
50
#F0F6FC
oklch(97% 0.01 247.9)
-
Step 100
100
#DFECF7
oklch(93.7% 0.02 243.4)
-
Step 200
200
#C4DCF2
oklch(88.4% 0.04 245.9)
-
Step 300
300
#9BC6ED
oklch(80.9% 0.072 246.2)
-
Step 400
400
#5FA7E3
oklch(70.6% 0.114 245.5)
-
Step 500
500
#2690DC
oklch(63.2% 0.147 245.6)
-
Step 600
600
#0078C0
oklch(55.5% 0.142 245.8)
-
Step 700
700
#0065A2
oklch(49% 0.125 245.5)
-
Step 800
800
#005386
oklch(42.8% 0.108 245.3)
-
Step 900
900 (this color)
#064874
oklch(38.9% 0.095 245.6)
-
Step 950
950
#072942
oklch(27.1% 0.06 245.2)
#064874 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) | #334A76 | 0.038 |
| Deuteranopia (no green cones) | #234173 | 0.026 |
| Tritanopia (no blue cones) | #005358 | 0.067 |
| Achromatopsia (no color) | #454545 | 0.095 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #064874
#064874
oklch(38.9% 0.095 245.6)
- #633900
#633900
oklch(38.7% 0.087 65.6)
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 #064874, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Twilight Blue #0A437A ΔE 0.020
- Light Navy #155084 ΔE 0.036
- Deep Sea Blue #015482 ΔE 0.040
- Dark Grey Blue #29465B ΔE 0.046
- Cobalt #1E488F ΔE 0.049
- Marine Blue #01386A ΔE 0.051
- Dusk Blue #26538D ΔE 0.057
- Charcoal #264653 ΔE 0.058
Use #064874 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.