#0C396C
Closest named color: Marine Blue (#01386A). oklch(34.6% 0.101 254.9), rgb(12, 57, 108).
Aa
White text reads best on this color (11.55:1).
About this color
#0C396C is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.101 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.008 away. White text reads best on it, at 11.55:1.
| Hue family | Blues |
| Lightness | dark (35%) |
| Chroma | moderately saturated (0.101) |
| Temperature | cool |
| Nearest name | Marine Blue (#01386A) |
| Black text | 1.81:1 |
| White text | 11.55:1 |
Values
| HEX | #0C396C |
| RGB | rgb(12, 57, 108) |
| HSL | hsl(212, 80%, 24%) |
| OKLCH | oklch(34.6% 0.101 254.9) |
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 #0C396C | 11.55:1 | AAA | Lc -99.9 | Preferred for body text |
| Black text on #0C396C | 1.81:1 | Fails | Lc 7.7 | Not readable |
| #0C396C text on white | 11.55:1 | AAA | Lc 96.2 | Preferred for body text |
| #0C396C text on black | 1.81:1 | Fails | Lc 0.0 | 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
#F1F6FC
oklch(97.1% 0.01 252.8)
-
Step 100
100
#E0EBF9
oklch(93.6% 0.022 254.4)
-
Step 200
200
#C7DBF5
oklch(88.5% 0.042 255)
-
Step 300
300
#A0C4F1
oklch(81% 0.075 254.2)
-
Step 400
400
#6BA3EA
oklch(70.6% 0.12 254.9)
-
Step 500
500
#408AE4
oklch(63% 0.155 255)
-
Step 600
600
#1B72D2
oklch(55.6% 0.167 255)
-
Step 700
700
#0A5FB6
oklch(49.1% 0.156 254.9)
-
Step 800
800
#0F4E93
oklch(42.7% 0.129 254.9)
-
Step 900
900 (this color)
#0C396C
oklch(34.6% 0.101 254.9)
-
Step 950
950
#0E2745
oklch(27.1% 0.064 254.6)
#0C396C 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) | #1E3E6E | 0.023 |
| Deuteranopia (no green cones) | #08356B | 0.013 |
| Tritanopia (no blue cones) | #00454D | 0.075 |
| Achromatopsia (no color) | #393939 | 0.101 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C396C
#0C396C
oklch(34.6% 0.101 254.9)
- #4F3300
#4F3300
oklch(34.6% 0.073 75.4)
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 #0C396C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Marine Blue #01386A ΔE 0.008
- Twilight Blue #0A437A ΔE 0.036
- Prussian Blue #1D3557 ΔE 0.038
- Marine #042E60 ΔE 0.039
- Dark Blue Grey #1F3B4D ΔE 0.058
- Midnight Green #073B4C ΔE 0.059
- Dark Grey Blue #29465B ΔE 0.064
- Charcoal #264653 ΔE 0.072
Use #0C396C 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.