#0C5157#0C5157
#0C5157 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.8% C 0.064 H 204.1°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #0C5157 |
|---|---|
| RGB | rgb(12, 81, 87) |
| HSL | hsl(185, 76%, 19%) |
| HSV | hsv(185, 86%, 34%) |
| CMYK | cmyk(86.2%, 6.9%, 0%, 65.9%) |
| CIE-LAB | lab(31.00, -17.59, -9.34) |
| CIE-LCH | lch(31.00, 19.91, 207.97°) |
| OKLab | oklab(39.84% -0.0582 -0.026) |
| OKLCH | oklch(39.84% 0.064 204.1) |
| XYZ | xyz(4.8136, 6.6505, 10.0450) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Teal
#00555A
ΔE00 1.80
Dark Teal
#014D4E
ΔE00 3.09
Petrol
#005F6A
ΔE00 4.98
Darkslategray
#2F4F4F
ΔE00 5.31
Dark Turquoise
#045C5A
ΔE00 5.69
Dark Blue Green
#005249
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C5157 #57120C
analogous
#0C5738 #0C5157 #0C2C57
triadic
#0C5157 #570C51 #51570C
tetradic
#0C5157 #380C57 #57120C #2C570C
square
#0C5157 #380C57 #57120C #2C570C
split-complementary
#0C5157 #570C2C #57380C
monochromatic
#04191B #051F21 #0C5157 #13838D #1BB5C3
Accessibility & contrast
On white
9.01
#0C5157 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#0C5157 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C5157
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C5157 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C5157 | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4D57
Deuteranopia (green-blind)
#3F4657
Tritanopia (blue-blind)
#005553
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #0c5157; /* rgb */ color: rgb(12, 81, 87); /* oklch */ color: oklch(39.8% 0.064 204.1);
Tailwind
colors: {
custom: {
50: '#5b8286',
500: '#0c5157',
950: '#000000',
},
}SCSS
$custom: #0c5157; $custom-light: #5b8286; $custom-dark: #000000;
JSON
{
"hex": "#0c5157",
"rgb": {
"r": 12,
"g": 81,
"b": 87
},
"hsl": {
"h": 184.8,
"s": 75.758,
"l": 19.412
},
"oklch": {
"l": 0.39841,
"c": 0.0637,
"h": 204.1
},
"luminance": 0.06651
}Semantic roles & 50–950 ramp
primary
#0C5157
secondary
#92352D
accent
#4535F2
background
#F5F7F8
surface
#E9EEEF
border
#C5C9CA
text
#050A0B
muted
#797C7C