#0C2A28#0C2A28
#0C2A28 is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.2% C 0.036 H 189.2°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2A28 |
|---|---|
| RGB | rgb(12, 42, 40) |
| HSL | hsl(176, 56%, 11%) |
| HSV | hsv(176, 71%, 16%) |
| CMYK | cmyk(71.4%, 0%, 4.8%, 83.5%) |
| CIE-LAB | lab(14.88, -11.66, -2.03) |
| CIE-LCH | lch(14.88, 11.84, 189.90°) |
| OKLab | oklab(26.19% -0.0351 -0.0057) |
| OKLCH | oklch(26.19% 0.036 189.2) |
| XYZ | xyz(1.3624, 1.8872, 2.2995) |
| Luminance | 0.0189 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Gunmetal
#2A3439
ΔE00 10.34
Charcoal (survey)
#343837
ΔE00 11.53
Dark Teal
#014D4E
ΔE00 11.77
Darkslategray
#2F4F4F
ΔE00 11.78
Onyx
#353839
ΔE00 12.55
Almost Black
#070D0D
ΔE00 12.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2A28 #2A0C0E
analogous
#0C2A19 #0C2A28 #0C1D2A
triadic
#0C2A28 #280C2A #2A280C
tetradic
#0C2A28 #190C2A #2A0C0E #1D2A0C
square
#0C2A28 #190C2A #2A0C0E #1D2A0C
split-complementary
#0C2A28 #2A0C1D #2A190C
monochromatic
#071817 #071817 #0C2A28 #1A5A55 #278983
Accessibility & contrast
On white
15.25
#0C2A28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#0C2A28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2A28
15.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2A28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2A28 | 1.00 | 15.25 | 1.38 | 15.25 |
| #FFFFFF | 15.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#272728
Deuteranopia (green-blind)
#232428
Tritanopia (blue-blind)
#002B29
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #0c2a28; /* rgb */ color: rgb(12, 42, 40); /* oklch */ color: oklch(26.2% 0.036 189.2);
Tailwind
colors: {
custom: {
50: '#4f6361',
500: '#0c2a28',
950: '#000000',
},
}SCSS
$custom: #0c2a28; $custom-light: #4f6361; $custom-dark: #000000;
JSON
{
"hex": "#0c2a28",
"rgb": {
"r": 12,
"g": 42,
"b": 40
},
"hsl": {
"h": 176,
"s": 55.556,
"l": 10.588
},
"oklch": {
"l": 0.26191,
"c": 0.0356,
"h": 189.2
},
"luminance": 0.01887
}Semantic roles & 50–950 ramp
primary
#0C2A28
secondary
#652D30
accent
#4953DF
background
#F4F5F5
surface
#E7EAE9
border
#C3C6C5
text
#020505
muted
#787979