#0C313D
Closest named color: Gunmetal (#293241). oklch(29.3% 0.046 223.5), rgb(12, 49, 61).
Aa
White text reads best on this color (13.79:1).
About this color
#0C313D is a dark, muted teal or cyan. In OKLCH its lightness is 29%, its chroma 0.046 and its hue 223°. Its hue sits on the cool side of the wheel. The nearest named color is Gunmetal (#293241), ΔE 0.036 away. White text reads best on it, at 13.79:1.
| Hue family | Teals and cyans |
| Lightness | dark (29%) |
| Chroma | muted (0.046) |
| Temperature | cool |
| Nearest name | Gunmetal (#293241) |
| Black text | 1.52:1 |
| White text | 13.79:1 |
Values
| HEX | #0C313D |
| RGB | rgb(12, 49, 61) |
| HSL | hsl(195, 67%, 14%) |
| OKLCH | oklch(29.3% 0.046 223.5) |
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 #0C313D | 13.79:1 | AAA | Lc -103.3 | Preferred for body text |
| Black text on #0C313D | 1.52:1 | Fails | Lc 0.0 | Not readable |
| #0C313D text on white | 13.79:1 | AAA | Lc 100.2 | Preferred for body text |
| #0C313D 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
#F0F7F9
oklch(97.1% 0.008 216.6)
-
Step 100
100
#DFECF2
oklch(93.5% 0.016 227)
-
Step 200
200
#C5DEE8
oklch(88.5% 0.03 223.8)
-
Step 300
300
#9BC9DB
oklch(80.9% 0.055 223.9)
-
Step 400
400
#5EADC9
oklch(70.8% 0.088 223.4)
-
Step 500
500
#1D97BB
oklch(63% 0.112 223.9)
-
Step 600
600
#0080A0
oklch(55.7% 0.104 223.4)
-
Step 700
700
#006B87
oklch(49% 0.092 224)
-
Step 800
800
#00586F
oklch(42.7% 0.08 223.4)
-
Step 900
900
#00495D
oklch(37.7% 0.071 223.8)
-
Step 950
950 (this color)
#0C313D
oklch(29.3% 0.046 223.5)
#0C313D 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) | #2A303E | 0.036 |
| Deuteranopia (no green cones) | #232B3D | 0.031 |
| Tritanopia (no blue cones) | #003535 | 0.025 |
| Achromatopsia (no color) | #2D2D2D | 0.046 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #0C313D
#0C313D
oklch(29.3% 0.046 223.5)
- #3F2419
#3F2419
oklch(29.2% 0.046 42.8)
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 #0C313D, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Gunmetal #293241 ΔE 0.036
- Midnight Green #073B4C ΔE 0.038
- Oxford Blue #1B263B ΔE 0.038
- Space Cadet #2B2D42 ΔE 0.042
- Dark #1B2431 ΔE 0.045
- Dark Blue Grey #1F3B4D ΔE 0.047
- Jet #212529 ΔE 0.049
- Prussian Blue #1D3557 ΔE 0.052
Use #0C313D 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.