#0C4C5F#0C4C5F
#0C4C5F is a dark, moderate cyan. Relative luminance 0.061; OKLCH L 38.8% C 0.068 H 223.5°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #0C4C5F |
|---|---|
| RGB | rgb(12, 76, 95) |
| HSL | hsl(194, 78%, 21%) |
| HSV | hsv(194, 87%, 37%) |
| CMYK | cmyk(87.4%, 20%, 0%, 62.7%) |
| CIE-LAB | lab(29.60, -11.71, -16.59) |
| CIE-LCH | lch(29.60, 20.30, 234.79°) |
| OKLab | oklab(38.82% -0.049 -0.0465) |
| OKLCH | oklch(38.82% 0.068 223.5) |
| XYZ | xyz(4.8008, 6.0727, 11.7434) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Slate Blue
#214761
ΔE00 6.52
Dark Grey Blue
#29465B
ΔE00 6.66
Dark Blue Grey
#1F3B4D
ΔE00 7.69
Petrol
#005F6A
ΔE00 8.32
Deep Teal
#00555A
ΔE00 8.53
Charcoal
#36454F
ΔE00 8.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C4C5F #5F1F0C
analogous
#0C5F48 #0C4C5F #0C225F
triadic
#0C4C5F #5F0C4C #4C5F0C
tetradic
#0C4C5F #480C5F #5F1F0C #225F0C
square
#0C4C5F #480C5F #5F1F0C #225F0C
split-complementary
#0C4C5F #5F0C22 #5F480C
monochromatic
#03161B #052129 #0C4C5F #137795 #1AA3CC
Accessibility & contrast
On white
9.48
#0C4C5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#0C4C5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C4C5F
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C4C5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C4C5F | 1.00 | 9.48 | 2.21 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#414A60
Deuteranopia (green-blind)
#36425F
Tritanopia (blue-blind)
#005252
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #0c4c5f; /* rgb */ color: rgb(12, 76, 95); /* oklch */ color: oklch(38.8% 0.068 223.5);
Tailwind
colors: {
custom: {
50: '#5c7e8c',
500: '#0c4c5f',
950: '#000000',
},
}SCSS
$custom: #0c4c5f; $custom-light: #5c7e8c; $custom-dark: #000000;
JSON
{
"hex": "#0c4c5f",
"rgb": {
"r": 12,
"g": 76,
"b": 95
},
"hsl": {
"h": 193.735,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.3882,
"c": 0.06759,
"h": 223.5
},
"luminance": 0.06073
}Semantic roles & 50–950 ramp
primary
#0C4C5F
secondary
#99462D
accent
#6034F4
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#05090C
muted
#797B7D