#0C4E7B
Closest named color: Light Navy (#155084). oklch(41% 0.097 245.2), rgb(12, 78, 123).
Aa
White text reads best on this color (8.78:1).
About this color
#0C4E7B is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.097 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy (#155084), ΔE 0.017 away. White text reads best on it, at 8.78:1.
| Hue family | Blues |
| Lightness | dark (41%) |
| Chroma | moderately saturated (0.097) |
| Temperature | cool |
| Nearest name | Light Navy (#155084) |
| Black text | 2.39:1 |
| White text | 8.78:1 |
Values
| HEX | #0C4E7B |
| RGB | rgb(12, 78, 123) |
| HSL | hsl(204, 82%, 26%) |
| OKLCH | oklch(41% 0.097 245.2) |
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 #0C4E7B | 8.78:1 | AAA | Lc -94.1 | Preferred for body text |
| Black text on #0C4E7B | 2.39:1 | Fails | Lc 14.4 | Not readable |
| #0C4E7B text on white | 8.78:1 | AAA | Lc 89.6 | Fine for body text |
| #0C4E7B text on black | 2.39:1 | Fails | Lc -12.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 800.
-
Step 50
50
#F1F6FA
oklch(97.1% 0.008 241.7)
-
Step 100
100
#E1EBF4
oklch(93.5% 0.016 245.1)
-
Step 200
200
#C9DCED
oklch(88.6% 0.031 245.1)
-
Step 300
300
#A3C5E3
oklch(80.9% 0.056 245.2)
-
Step 400
400
#6FA7D6
oklch(70.8% 0.091 244.9)
-
Step 500
500
#4590CB
oklch(63.2% 0.116 244.9)
-
Step 600
600
#2179B8
oklch(55.7% 0.126 245.2)
-
Step 700
700
#11659E
oklch(49% 0.117 245.4)
-
Step 800
800 (this color)
#0C4E7B
oklch(41% 0.097 245.2)
-
Step 900
900
#194567
oklch(37.7% 0.076 245.2)
-
Step 950
950
#10293C
oklch(27.1% 0.047 243.8)
#0C4E7B 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) | #38507D | 0.039 |
| Deuteranopia (no green cones) | #29467A | 0.029 |
| Tritanopia (no blue cones) | #00595E | 0.068 |
| Achromatopsia (no color) | #4B4B4B | 0.097 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C4E7B
#0C4E7B
oklch(41% 0.097 245.2)
- #6B3E00
#6B3E00
oklch(40.9% 0.091 65.5)
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 #0C4E7B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Navy #155084 ΔE 0.017
- Deep Sea Blue #015482 ΔE 0.019
- Twilight Blue #0A437A ΔE 0.034
- Dusk Blue #26538D ΔE 0.038
- Cobalt #1E488F ΔE 0.042
- Light Navy Blue #2E5A88 ΔE 0.050
- Dark Grey Blue #29465B ΔE 0.055
- YInMn Blue #415A77 ΔE 0.065
Use #0C4E7B 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.