#0C4F5B#0C4F5B
#0C4F5B is a dark, moderate teal. Relative luminance 0.064; OKLCH L 39.5% C 0.065 H 213.3°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #0C4F5B |
|---|---|
| RGB | rgb(12, 79, 91) |
| HSL | hsl(189, 77%, 20%) |
| HSV | hsv(189, 87%, 36%) |
| CMYK | cmyk(86.8%, 13.2%, 0%, 64.3%) |
| CIE-LAB | lab(30.46, -14.99, -12.71) |
| CIE-LCH | lch(30.46, 19.65, 220.28°) |
| OKLab | oklab(39.46% -0.054 -0.0355) |
| OKLCH | oklch(39.46% 0.065 213.3) |
| XYZ | xyz(4.8351, 6.4248, 10.8808) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | teal |
Closest named colors
Deep Teal
#00555A
ΔE00 4.74
Petrol
#005F6A
ΔE00 5.61
Dark Teal
#014D4E
ΔE00 6.07
Darkslategray
#2F4F4F
ΔE00 6.34
Dark Turquoise
#045C5A
ΔE00 8.75
Dark Grey Blue
#29465B
ΔE00 9.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C4F5B #5B180C
analogous
#0C5B3F #0C4F5B #0C275B
triadic
#0C4F5B #5B0C4F #4F5B0C
tetradic
#0C4F5B #3F0C5B #5B180C #275B0C
square
#0C4F5B #3F0C5B #5B180C #275B0C
split-complementary
#0C4F5B #5B0C27 #5B3F0C
monochromatic
#04171B #052025 #0C4F5B #137E91 #1AADC7
Accessibility & contrast
On white
9.19
#0C4F5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#0C4F5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C4F5B
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C4F5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C4F5B | 1.00 | 9.19 | 2.29 | 9.19 |
| #FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464C5C
Deuteranopia (green-blind)
#3C445B
Tritanopia (blue-blind)
#005453
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #0c4f5b; /* rgb */ color: rgb(12, 79, 91); /* oklch */ color: oklch(39.5% 0.065 213.3);
Tailwind
colors: {
custom: {
50: '#5c8089',
500: '#0c4f5b',
950: '#000000',
},
}SCSS
$custom: #0c4f5b; $custom-light: #5c8089; $custom-dark: #000000;
JSON
{
"hex": "#0c4f5b",
"rgb": {
"r": 12,
"g": 79,
"b": 91
},
"hsl": {
"h": 189.114,
"s": 76.699,
"l": 20.196
},
"oklch": {
"l": 0.39459,
"c": 0.06465,
"h": 213.3
},
"luminance": 0.06425
}Semantic roles & 50–950 ramp
primary
#0C4F5B
secondary
#963D2D
accent
#5235F3
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#050A0B
muted
#797C7C