#0C181A#0C181A
#0C181A is a very dark, near-neutral teal. Relative luminance 0.008; OKLCH L 19.9% C 0.018 H 209.0°. Best body text is #FFFFFF at 18.08:1 contrast (WCAG AA passes).
Color values
| HEX | #0C181A |
|---|---|
| RGB | rgb(12, 24, 26) |
| HSL | hsl(189, 37%, 7%) |
| HSV | hsv(189, 54%, 10%) |
| CMYK | cmyk(53.8%, 7.7%, 0%, 89.8%) |
| CIE-LAB | lab(7.28, -4.16, -3.07) |
| CIE-LCH | lch(7.28, 5.16, 216.40°) |
| OKLab | oklab(19.87% -0.0153 -0.0085) |
| OKLCH | oklch(19.87% 0.018 209) |
| XYZ | xyz(0.6646, 0.8060, 1.0976) |
| Luminance | 0.0081 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Almost Black
#070D0D
ΔE00 4.46
Black
#000000
ΔE00 7.39
Dark
#1B2431
ΔE00 8.76
Gunmetal
#2A3439
ΔE00 9.20
Charcoal (survey)
#343837
ΔE00 11.12
Onyx
#353839
ΔE00 11.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C181A #1A0E0C
analogous
#0C1A15 #0C181A #0C111A
triadic
#0C181A #1A0C18 #181A0C
tetradic
#0C181A #150C1A #1A0E0C #111A0C
square
#0C181A #150C1A #1A0E0C #111A0C
split-complementary
#0C181A #1A0C11 #1A150C
monochromatic
#0A1315 #0A1315 #0C181A #1F3F44 #33656E
Accessibility & contrast
On white
18.08
#0C181A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.16
#0C181A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C181A
18.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C181A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C181A | 1.00 | 18.08 | 1.16 | 18.08 |
| #FFFFFF | 18.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#16171A
Deuteranopia (green-blind)
#14151A
Tritanopia (blue-blind)
#071919
Achromatopsia (no color)
#161616
Design tokens & code
CSS
--color: #0c181a; /* rgb */ color: rgb(12, 24, 26); /* oklch */ color: oklch(19.9% 0.018 209.0);
Tailwind
colors: {
custom: {
50: '#4c5456',
500: '#0c181a',
950: '#000000',
},
}SCSS
$custom: #0c181a; $custom-light: #4c5456; $custom-dark: #000000;
JSON
{
"hex": "#0c181a",
"rgb": {
"r": 12,
"g": 24,
"b": 26
},
"hsl": {
"h": 188.571,
"s": 36.842,
"l": 7.451
},
"oklch": {
"l": 0.19872,
"c": 0.01755,
"h": 209
},
"luminance": 0.00806
}Semantic roles & 50–950 ramp
primary
#0C181A
secondary
#523530
accent
#6B5BCD
background
#F4F4F5
surface
#E7E7E9
border
#C3C3C5
text
#010203
muted
#777878