#12515F#12515F
#12515F is a dark, moderate cyan. Relative luminance 0.068; OKLCH L 40.3% C 0.065 H 216.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #12515F |
|---|---|
| RGB | rgb(18, 81, 95) |
| HSL | hsl(191, 68%, 22%) |
| HSV | hsv(191, 81%, 37%) |
| CMYK | cmyk(81.1%, 14.7%, 0%, 62.7%) |
| CIE-LAB | lab(31.44, -13.97, -13.75) |
| CIE-LCH | lch(31.44, 19.60, 224.53°) |
| OKLab | oklab(40.34% -0.052 -0.0384) |
| OKLCH | oklch(40.34% 0.065 216.4) |
| XYZ | xyz(5.2566, 6.8390, 11.8673) |
| Luminance | 0.0684 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Petrol
#005F6A
ΔE00 5.58
Deep Teal
#00555A
ΔE00 5.66
Darkslategray
#2F4F4F
ΔE00 6.89
Dark Teal
#014D4E
ΔE00 7.32
Dark Grey Blue
#29465B
ΔE00 9.09
Dark Slate Blue
#214761
ΔE00 9.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12515F #5F2012
analogous
#125F47 #12515F #122B5F
triadic
#12515F #5F1251 #515F12
tetradic
#12515F #47125F #5F2012 #2B5F12
square
#12515F #47125F #5F2012 #2B5F12
split-complementary
#12515F #5F122B #5F4712
monochromatic
#05161A #08252C #12515F #1C7D92 #25A9C6
Accessibility & contrast
On white
8.87
#12515F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#12515F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12515F
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12515F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12515F | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484E60
Deuteranopia (green-blind)
#3D475F
Tritanopia (blue-blind)
#005655
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #12515f; /* rgb */ color: rgb(18, 81, 95); /* oklch */ color: oklch(40.3% 0.065 216.4);
Tailwind
colors: {
custom: {
50: '#5e828c',
500: '#12515f',
950: '#000000',
},
}SCSS
$custom: #12515f; $custom-light: #5e828c; $custom-dark: #000000;
JSON
{
"hex": "#12515f",
"rgb": {
"r": 18,
"g": 81,
"b": 95
},
"hsl": {
"h": 190.909,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.40337,
"c": 0.06463,
"h": 216.4
},
"luminance": 0.0684
}Semantic roles & 50–950 ramp
primary
#12515F
secondary
#974736
accent
#5C3DEB
background
#F5F7F8
surface
#EAEEF0
border
#C6C9CB
text
#050A0C
muted
#797C7D