#0C274B
Closest named color: Oxford Blue (#1B263B). oklch(27.4% 0.074 256.8), rgb(12, 39, 75).
Aa
White text reads best on this color (14.92:1).
About this color
#0C274B is a dark, moderately saturated blue. In OKLCH its lightness is 27%, its chroma 0.074 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.033 away. White text reads best on it, at 14.92:1.
| Hue family | Blues |
| Lightness | dark (27%) |
| Chroma | moderately saturated (0.074) |
| Temperature | cool |
| Nearest name | Oxford Blue (#1B263B) |
| Black text | 1.40:1 |
| White text | 14.92:1 |
Values
| HEX | #0C274B |
| RGB | rgb(12, 39, 75) |
| HSL | hsl(214, 72%, 17%) |
| OKLCH | oklch(27.4% 0.074 256.8) |
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 #0C274B | 14.92:1 | AAA | Lc -104.4 | Preferred for body text |
| Black text on #0C274B | 1.40:1 | Fails | Lc 0.0 | Not readable |
| #0C274B text on white | 14.92:1 | AAA | Lc 101.6 | Preferred for body text |
| #0C274B text on black | 1.40: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 950.
-
Step 50
50
#F0F6FE
oklch(97.1% 0.012 255.5)
-
Step 100
100
#DFEBFB
oklch(93.6% 0.025 255.6)
-
Step 200
200
#C5DBFA
oklch(88.5% 0.049 256.9)
-
Step 300
300
#9CC3F9
oklch(80.9% 0.088 256.6)
-
Step 400
400
#64A2F7
oklch(70.8% 0.141 256.6)
-
Step 500
500
#3587F3
oklch(63% 0.18 256.8)
-
Step 600
600
#006EE2
oklch(55.6% 0.196 256.8)
-
Step 700
700
#005CBF
oklch(49% 0.172 256.8)
-
Step 800
800
#004B9F
oklch(42.7% 0.151 256.9)
-
Step 900
900
#0E407E
oklch(37.7% 0.117 256.5)
-
Step 950
950 (this color)
#0C274B
oklch(27.4% 0.074 256.8)
#0C274B 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) | #152A4C | 0.015 |
| Deuteranopia (no green cones) | #09244A | 0.011 |
| Tritanopia (no blue cones) | #002F35 | 0.056 |
| Achromatopsia (no color) | #272727 | 0.074 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C274B
#0C274B
oklch(27.4% 0.074 256.8)
- #372300
#372300
oklch(27.4% 0.057 76.9)
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 #0C274B, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Oxford Blue #1B263B ΔE 0.033
- Marine #042E60 ΔE 0.041
- Dark #1B2431 ΔE 0.049
- Space Cadet #2B2D42 ΔE 0.052
- Prussian Blue #1D3557 ΔE 0.054
- Gunmetal #293241 ΔE 0.061
- Jet #212529 ΔE 0.066
- Midnight Green #073B4C ΔE 0.067
Use #0C274B 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.