#122F5C#122F5C
#122F5C is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.088 H 259.0°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).
Color values
| HEX | #122F5C |
|---|---|
| RGB | rgb(18, 47, 92) |
| HSL | hsl(216, 67%, 22%) |
| HSV | hsv(216, 80%, 36%) |
| CMYK | cmyk(80.4%, 48.9%, 0%, 63.9%) |
| CIE-LAB | lab(19.78, 7.19, -30.09) |
| CIE-LCH | lch(19.78, 30.94, 283.43°) |
| OKLab | oklab(31.06% -0.0167 -0.0863) |
| OKLCH | oklch(31.06% 0.088 259) |
| XYZ | xyz(3.1970, 2.9340, 10.5210) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.38
Navy Blue
#1B2A4A
ΔE00 4.16
Marine Blue
#01386A
ΔE00 4.17
Darkish Blue
#014182
ΔE00 7.46
Twilight Blue
#0A437A
ΔE00 7.53
Navy (survey)
#01153E
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122F5C #5C3F12
analogous
#12545C #122F5C #1A125C
triadic
#122F5C #5C122F #2F5C12
tetradic
#122F5C #5C1254 #5C3F12 #125C1A
square
#122F5C #5C1254 #5C3F12 #125C1A
split-complementary
#122F5C #5C1A12 #545C12
monochromatic
#050D1A #081529 #122F5C #1C498F #2663C2
Accessibility & contrast
On white
13.23
#122F5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#122F5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122F5C
13.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122F5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122F5C | 1.00 | 13.23 | 1.59 | 13.23 |
| #FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#18335E
Deuteranopia (green-blind)
#082D5B
Tritanopia (blue-blind)
#003A41
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #122f5c; /* rgb */ color: rgb(18, 47, 92); /* oklch */ color: oklch(31.1% 0.088 259.0);
Tailwind
colors: {
custom: {
50: '#5c678a',
500: '#122f5c',
950: '#000000',
},
}SCSS
$custom: #122f5c; $custom-light: #5c678a; $custom-dark: #000000;
JSON
{
"hex": "#122f5c",
"rgb": {
"r": 18,
"g": 47,
"b": 92
},
"hsl": {
"h": 216.486,
"s": 67.273,
"l": 21.569
},
"oklch": {
"l": 0.31062,
"c": 0.08786,
"h": 259
},
"luminance": 0.02934
}Semantic roles & 50–950 ramp
primary
#122F5C
secondary
#946F35
accent
#A73EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D