#0C313C
Closest named color: Gunmetal (#293241). oklch(29.3% 0.045 221.4), rgb(12, 49, 60).
Aa
White text reads best on this color (13.81:1).
About this color
#0C313C is a dark, muted teal or cyan. In OKLCH its lightness is 29%, its chroma 0.045 and its hue 221°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.037 away. White text reads best on it, at 13.81:1.
| Hue family | Teals and cyans |
| Lightness | dark (29%) |
| Chroma | muted (0.045) |
| Temperature | cool |
| Nearest name | Gunmetal (#293241) |
| Black text | 1.52:1 |
| White text | 13.81:1 |
Values
| HEX | #0C313C |
| RGB | rgb(12, 49, 60) |
| HSL | hsl(194, 67%, 14%) |
| OKLCH | oklch(29.3% 0.045 221.4) |
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 #0C313C | 13.81:1 | AAA | Lc -103.3 | Preferred for body text |
| Black text on #0C313C | 1.52:1 | Fails | Lc 0.0 | Not readable |
| #0C313C text on white | 13.81:1 | AAA | Lc 100.2 | Preferred for body text |
| #0C313C text on black | 1.52: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
#F1F7F9
oklch(97.2% 0.007 219.6)
-
Step 100
100
#DFECF1
oklch(93.5% 0.015 222.7)
-
Step 200
200
#C5DEE7
oklch(88.5% 0.029 221.4)
-
Step 300
300
#9BC9D9
oklch(80.9% 0.053 221.2)
-
Step 400
400
#5EADC7
oklch(70.7% 0.086 221.7)
-
Step 500
500
#1E98B8
oklch(63.1% 0.109 221.1)
-
Step 600
600
#00809E
oklch(55.6% 0.103 221.9)
-
Step 700
700
#006C85
oklch(49.2% 0.09 221.2)
-
Step 800
800
#00586D
oklch(42.6% 0.078 221.3)
-
Step 900
900
#00495C
oklch(37.6% 0.07 222.6)
-
Step 950
950 (this color)
#0C313C
oklch(29.3% 0.045 221.4)
#0C313C 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) | #2A303D | 0.036 |
| Deuteranopia (no green cones) | #242B3C | 0.032 |
| Tritanopia (no blue cones) | #003535 | 0.023 |
| Achromatopsia (no color) | #2D2D2D | 0.046 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C313C
#0C313C
oklch(29.3% 0.045 221.4)
- #3F241A
#3F241A
oklch(29.3% 0.045 41)
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 #0C313C, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Gunmetal #293241 ΔE 0.037
- Midnight Green #073B4C ΔE 0.039
- Oxford Blue #1B263B ΔE 0.039
- Space Cadet #2B2D42 ΔE 0.043
- Dark #1B2431 ΔE 0.045
- Dark Blue Grey #1F3B4D ΔE 0.048
- Jet #212529 ΔE 0.048
- Prussian Blue #1D3557 ΔE 0.054
Use #0C313C 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.