#12272F#12272F
#12272F is a dark, muted cyan. Relative luminance 0.018; OKLCH L 25.9% C 0.031 H 224.8°. Best body text is #FFFFFF at 15.48:1 contrast (WCAG AA passes).
Color values
| HEX | #12272F |
|---|---|
| RGB | rgb(18, 39, 47) |
| HSL | hsl(197, 45%, 13%) |
| HSV | hsv(197, 62%, 18%) |
| CMYK | cmyk(61.7%, 17%, 0%, 81.6%) |
| CIE-LAB | lab(14.31, -5.59, -7.84) |
| CIE-LCH | lch(14.31, 9.62, 234.52°) |
| OKLab | oklab(25.91% -0.0219 -0.0217) |
| OKLCH | oklch(25.91% 0.031 224.8) |
| XYZ | xyz(1.4879, 1.7847, 2.9549) |
| Luminance | 0.0179 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Gunmetal
#2A3439
ΔE00 5.88
Dark
#1B2431
ΔE00 7.10
Dark Blue Grey
#1F3B4D
ΔE00 7.79
Onyx
#353839
ΔE00 9.59
Charcoal (survey)
#343837
ΔE00 9.64
Almost Black
#070D0D
ΔE00 9.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#12272F #2F1A12
analogous
#122F28 #12272F #12182F
triadic
#12272F #2F1227 #272F12
tetradic
#12272F #28122F #2F1A12 #182F12
square
#12272F #28122F #2F1A12 #182F12
split-complementary
#12272F #2F1218 #2F2812
monochromatic
#081216 #081216 #12272F #234C5B #347088
Accessibility & contrast
On white
15.48
#12272F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.36
#12272F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #12272F
15.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##12272F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##12272F | 1.00 | 15.48 | 1.36 | 15.48 |
| #FFFFFF | 15.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23262F
Deuteranopia (green-blind)
#1E232F
Tritanopia (blue-blind)
#03292A
Achromatopsia (no color)
#242424
Design tokens & code
CSS
--color: #12272f; /* rgb */ color: rgb(18, 39, 47); /* oklch */ color: oklch(25.9% 0.031 224.8);
Tailwind
colors: {
custom: {
50: '#526167',
500: '#12272f',
950: '#000000',
},
}SCSS
$custom: #12272f; $custom-light: #526167; $custom-dark: #000000;
JSON
{
"hex": "#12272f",
"rgb": {
"r": 18,
"g": 39,
"b": 47
},
"hsl": {
"h": 196.552,
"s": 44.615,
"l": 12.745
},
"oklch": {
"l": 0.25908,
"c": 0.03082,
"h": 224.8
},
"luminance": 0.01785
}Semantic roles & 50–950 ramp
primary
#12272F
secondary
#674336
accent
#7753D4
background
#F4F5F6
surface
#E7E9EB
border
#C3C5C6
text
#020506
muted
#78797A