#0C4F5F#0C4F5F
#0C4F5F is a dark, moderate cyan. Relative luminance 0.065; OKLCH L 39.7% C 0.067 H 218.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #0C4F5F |
|---|---|
| RGB | rgb(12, 79, 95) |
| HSL | hsl(192, 78%, 21%) |
| HSV | hsv(192, 87%, 37%) |
| CMYK | cmyk(87.4%, 16.8%, 0%, 62.7%) |
| CIE-LAB | lab(30.63, -13.49, -14.99) |
| CIE-LCH | lch(30.63, 20.17, 228.02°) |
| OKLab | oklab(39.65% -0.0522 -0.042) |
| OKLCH | oklch(39.65% 0.067 218.8) |
| XYZ | xyz(5.0123, 6.4957, 11.8139) |
| Luminance | 0.0650 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Petrol
#005F6A
ΔE00 6.50
Deep Teal
#00555A
ΔE00 6.61
Darkslategray
#2F4F4F
ΔE00 7.67
Dark Teal
#014D4E
ΔE00 8.09
Dark Grey Blue
#29465B
ΔE00 8.33
Dark Slate Blue
#214761
ΔE00 8.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C4F5F #5F1C0C
analogous
#0C5F45 #0C4F5F #0C255F
triadic
#0C4F5F #5F0C4F #4F5F0C
tetradic
#0C4F5F #450C5F #5F1C0C #255F0C
square
#0C4F5F #450C5F #5F1C0C #255F0C
split-complementary
#0C4F5F #5F0C25 #5F450C
monochromatic
#03171B #052229 #0C4F5F #137C95 #1AA9CC
Accessibility & contrast
On white
9.13
#0C4F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#0C4F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C4F5F
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C4F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C4F5F | 1.00 | 9.13 | 2.30 | 9.13 |
| #FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454D60
Deuteranopia (green-blind)
#3A455F
Tritanopia (blue-blind)
#005454
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #0c4f5f; /* rgb */ color: rgb(12, 79, 95); /* oklch */ color: oklch(39.7% 0.067 218.8);
Tailwind
colors: {
custom: {
50: '#5c808c',
500: '#0c4f5f',
950: '#000000',
},
}SCSS
$custom: #0c4f5f; $custom-light: #5c808c; $custom-dark: #000000;
JSON
{
"hex": "#0c4f5f",
"rgb": {
"r": 12,
"g": 79,
"b": 95
},
"hsl": {
"h": 191.566,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.39652,
"c": 0.067,
"h": 218.8
},
"luminance": 0.06496
}Semantic roles & 50–950 ramp
primary
#0C4F5F
secondary
#99422D
accent
#5934F4
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#050A0C
muted
#797C7D