#122945#122945
#122945 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.8% C 0.060 H 254.6°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).
Color values
| HEX | #122945 |
|---|---|
| RGB | rgb(18, 41, 69) |
| HSL | hsl(213, 59%, 17%) |
| HSV | hsv(213, 74%, 27%) |
| CMYK | cmyk(73.9%, 40.6%, 0%, 72.9%) |
| CIE-LAB | lab(16.23, 1.76, -20.26) |
| CIE-LCH | lch(16.23, 20.33, 274.97°) |
| OKLab | oklab(27.81% -0.0159 -0.0575) |
| OKLCH | oklch(27.81% 0.06 254.6) |
| XYZ | xyz(2.1162, 2.1439, 5.9314) |
| Luminance | 0.0214 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.12
Marine
#042E60
ΔE00 5.15
Dark
#1B2431
ΔE00 6.43
Marine Blue
#01386A
ΔE00 7.15
Navy (survey)
#01153E
ΔE00 7.76
Dark Blue Grey
#1F3B4D
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122945 #452E12
analogous
#124345 #122945 #141245
triadic
#122945 #451229 #294512
tetradic
#122945 #451243 #452E12 #124514
square
#122945 #451243 #452E12 #124514
split-complementary
#122945 #451412 #434512
monochromatic
#060E18 #060E18 #122945 #1F4676 #2B63A6
Accessibility & contrast
On white
14.70
#122945 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.43
#122945 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122945
14.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122945 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122945 | 1.00 | 14.70 | 1.43 | 14.70 |
| #FFFFFF | 14.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D2B46
Deuteranopia (green-blind)
#152644
Tritanopia (blue-blind)
#002F33
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #122945; /* rgb */ color: rgb(18, 41, 69); /* oklch */ color: oklch(27.8% 0.060 254.6);
Tailwind
colors: {
custom: {
50: '#566279',
500: '#122945',
950: '#000000',
},
}SCSS
$custom: #122945; $custom-light: #566279; $custom-dark: #000000;
JSON
{
"hex": "#122945",
"rgb": {
"r": 18,
"g": 41,
"b": 69
},
"hsl": {
"h": 212.941,
"s": 58.621,
"l": 17.059
},
"oklch": {
"l": 0.27807,
"c": 0.05966,
"h": 254.6
},
"luminance": 0.02144
}Semantic roles & 50–950 ramp
primary
#122945
secondary
#7E5D35
accent
#9C46E2
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B