#0C397C
Closest named color: Twilight Blue (#0A437A). oklch(35.9% 0.124 259.1), rgb(12, 57, 124).
Aa
White text reads best on this color (11.09:1).
About this color
#0C397C is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.124 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.030 away. White text reads best on it, at 11.09:1.
| Hue family | Blues |
| Lightness | dark (36%) |
| Chroma | moderately saturated (0.124) |
| Temperature | cool |
| Nearest name | Twilight Blue (#0A437A) |
| Black text | 1.89:1 |
| White text | 11.09:1 |
Values
| HEX | #0C397C |
| RGB | rgb(12, 57, 124) |
| HSL | hsl(216, 82%, 27%) |
| OKLCH | oklch(35.9% 0.124 259.1) |
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 #0C397C | 11.09:1 | AAA | Lc -99.0 | Preferred for body text |
| Black text on #0C397C | 1.89:1 | Fails | Lc 8.8 | Not readable |
| #0C397C text on white | 11.09:1 | AAA | Lc 95.1 | Preferred for body text |
| #0C397C text on black | 1.89:1 | Fails | Lc -7.5 | 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
#F1F6FE
oklch(97.2% 0.012 259.8)
-
Step 100
100
#DFEBFC
oklch(93.6% 0.026 257)
-
Step 200
200
#C5DBFC
oklch(88.6% 0.051 258.4)
-
Step 300
300
#9DC2FD
oklch(80.9% 0.093 259.6)
-
Step 400
400
#66A0FC
oklch(70.7% 0.149 259.3)
-
Step 500
500
#3A85FA
oklch(63.2% 0.19 259.2)
-
Step 600
600
#116BE9
oklch(55.7% 0.206 259.1)
-
Step 700
700
#0058CA
oklch(49.1% 0.191 259.1)
-
Step 800
800
#0849A4
oklch(42.8% 0.159 259.2)
-
Step 900
900 (this color)
#0C397C
oklch(35.9% 0.124 259.1)
-
Step 950
950
#0C254C
oklch(27% 0.079 259.2)
#0C397C 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) | #08417E | 0.023 |
| Deuteranopia (no green cones) | #00377B | 0.010 |
| Tritanopia (no blue cones) | #004954 | 0.094 |
| Achromatopsia (no color) | #3C3C3C | 0.124 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C397C
#0C397C
oklch(35.9% 0.124 259.1)
- #513700
#513700
oklch(35.8% 0.074 79.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 #0C397C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Twilight Blue #0A437A ΔE 0.030
- Marine Blue #01386A ΔE 0.032
- Cobalt #1E488F ΔE 0.055
- Marine #042E60 ΔE 0.058
- Prussian Blue #1D3557 ΔE 0.064
- Light Navy #155084 ΔE 0.069
- Deep Sea Blue #015482 ΔE 0.079
- Midnight Blue #191970 ΔE 0.080
Use #0C397C 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.