#0C4B5F#0C4B5F
#0C4B5F is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 38.5% C 0.068 H 225.1°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #0C4B5F |
|---|---|
| RGB | rgb(12, 75, 95) |
| HSL | hsl(194, 78%, 21%) |
| HSV | hsv(194, 87%, 37%) |
| CMYK | cmyk(87.4%, 21.1%, 0%, 62.7%) |
| CIE-LAB | lab(29.25, -11.10, -17.12) |
| CIE-LCH | lch(29.25, 20.41, 237.04°) |
| OKLab | oklab(38.54% -0.048 -0.0481) |
| OKLCH | oklch(38.54% 0.068 225.1) |
| XYZ | xyz(4.7324, 5.9359, 11.7206) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Slate Blue
#214761
ΔE00 5.92
Dark Grey Blue
#29465B
ΔE00 6.13
Dark Blue Grey
#1F3B4D
ΔE00 7.17
Charcoal
#36454F
ΔE00 8.53
Petrol
#005F6A
ΔE00 8.93
Deep Teal
#00555A
ΔE00 9.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C4B5F #5F200C
analogous
#0C5F49 #0C4B5F #0C215F
triadic
#0C4B5F #5F0C4B #4B5F0C
tetradic
#0C4B5F #490C5F #5F200C #215F0C
square
#0C4B5F #490C5F #5F200C #215F0C
split-complementary
#0C4B5F #5F0C21 #5F490C
monochromatic
#03151B #052029 #0C4B5F #137695 #1AA1CC
Accessibility & contrast
On white
9.60
#0C4B5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#0C4B5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C4B5F
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C4B5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C4B5F | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404960
Deuteranopia (green-blind)
#35425F
Tritanopia (blue-blind)
#005152
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #0c4b5f; /* rgb */ color: rgb(12, 75, 95); /* oklch */ color: oklch(38.5% 0.068 225.1);
Tailwind
colors: {
custom: {
50: '#5c7d8c',
500: '#0c4b5f',
950: '#000000',
},
}SCSS
$custom: #0c4b5f; $custom-light: #5c7d8c; $custom-dark: #000000;
JSON
{
"hex": "#0c4b5f",
"rgb": {
"r": 12,
"g": 75,
"b": 95
},
"hsl": {
"h": 194.458,
"s": 77.57,
"l": 20.98
},
"oklch": {
"l": 0.38544,
"c": 0.06791,
"h": 225.1
},
"luminance": 0.05937
}Semantic roles & 50–950 ramp
primary
#0C4B5F
secondary
#99472D
accent
#6234F4
background
#F5F7F8
surface
#E9EEF0
border
#C5C9CB
text
#05090C
muted
#797B7D