#0C2A2A#0C2A2A
#0C2A2A is a dark, muted teal. Relative luminance 0.019; OKLCH L 26.3% C 0.035 H 195.2°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).
Color values
| HEX | #0C2A2A |
|---|---|
| RGB | rgb(12, 42, 42) |
| HSL | hsl(180, 56%, 11%) |
| HSV | hsv(180, 71%, 16%) |
| CMYK | cmyk(71.4%, 0%, 0%, 83.5%) |
| CIE-LAB | lab(14.96, -10.96, -3.34) |
| CIE-LCH | lch(14.96, 11.46, 196.95°) |
| OKLab | oklab(26.28% -0.034 -0.0093) |
| OKLCH | oklch(26.28% 0.035 195.2) |
| XYZ | xyz(1.3973, 1.9011, 2.4834) |
| Luminance | 0.0190 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Gunmetal
#2A3439
ΔE00 9.53
Charcoal (survey)
#343837
ΔE00 11.17
Darkslategray
#2F4F4F
ΔE00 11.68
Dark Teal
#014D4E
ΔE00 11.83
Onyx
#353839
ΔE00 12.07
Dark Blue Grey
#1F3B4D
ΔE00 12.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C2A2A #2A0C0C
analogous
#0C2A1B #0C2A2A #0C1B2A
triadic
#0C2A2A #2A0C2A #2A2A0C
tetradic
#0C2A2A #1B0C2A #2A0C0C #1B2A0C
square
#0C2A2A #1B0C2A #2A0C0C #1B2A0C
split-complementary
#0C2A2A #2A0C1B #2A1B0C
monochromatic
#071818 #071818 #0C2A2A #1A5A5A #278989
Accessibility & contrast
On white
15.22
#0C2A2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.38
#0C2A2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C2A2A
15.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C2A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C2A2A | 1.00 | 15.22 | 1.38 | 15.22 |
| #FFFFFF | 15.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27282A
Deuteranopia (green-blind)
#22242A
Tritanopia (blue-blind)
#002C2A
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #0c2a2a; /* rgb */ color: rgb(12, 42, 42); /* oklch */ color: oklch(26.3% 0.035 195.2);
Tailwind
colors: {
custom: {
50: '#4f6363',
500: '#0c2a2a',
950: '#000000',
},
}SCSS
$custom: #0c2a2a; $custom-light: #4f6363; $custom-dark: #000000;
JSON
{
"hex": "#0c2a2a",
"rgb": {
"r": 12,
"g": 42,
"b": 42
},
"hsl": {
"h": 180,
"s": 55.556,
"l": 10.588
},
"oklch": {
"l": 0.26278,
"c": 0.03525,
"h": 195.2
},
"luminance": 0.01901
}Semantic roles & 50–950 ramp
primary
#0C2A2A
secondary
#652D2D
accent
#4949DF
background
#F4F5F5
surface
#E7EAEA
border
#C3C6C6
text
#020505
muted
#787979