#122F5F#122F5F
#122F5F is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.092 H 260.0°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).
Color values
| HEX | #122F5F |
|---|---|
| RGB | rgb(18, 47, 95) |
| HSL | hsl(217, 68%, 22%) |
| HSV | hsv(217, 81%, 37%) |
| CMYK | cmyk(81.1%, 50.5%, 0%, 62.7%) |
| CIE-LAB | lab(19.99, 8.48, -31.72) |
| CIE-LCH | lch(19.99, 32.83, 284.96°) |
| OKLab | oklab(31.3% -0.0161 -0.0911) |
| OKLCH | oklch(31.3% 0.092 260) |
| XYZ | xyz(3.3308, 2.9875, 11.2254) |
| Luminance | 0.0299 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.29
Marine Blue
#01386A
ΔE00 4.19
Navy Blue
#1B2A4A
ΔE00 4.59
Darkish Blue
#014182
ΔE00 7.30
Twilight Blue
#0A437A
ΔE00 7.47
Prussian Blue
#004577
ΔE00 8.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122F5F #5F4212
analogous
#12565F #122F5F #1C125F
triadic
#122F5F #5F122F #2F5F12
tetradic
#122F5F #5F1256 #5F4212 #125F1C
square
#122F5F #5F1256 #5F4212 #125F1C
split-complementary
#122F5F #5F1C12 #565F12
monochromatic
#050D1A #08162C #122F5F #1C4892 #2562C6
Accessibility & contrast
On white
13.14
#122F5F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#122F5F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122F5F
13.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122F5F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122F5F | 1.00 | 13.14 | 1.60 | 13.14 |
| #FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#153461
Deuteranopia (green-blind)
#022D5E
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #122f5f; /* rgb */ color: rgb(18, 47, 95); /* oklch */ color: oklch(31.3% 0.092 260.0);
Tailwind
colors: {
custom: {
50: '#5d678d',
500: '#122f5f',
950: '#000000',
},
}SCSS
$custom: #122f5f; $custom-light: #5d678d; $custom-dark: #000000;
JSON
{
"hex": "#122f5f",
"rgb": {
"r": 18,
"g": 47,
"b": 95
},
"hsl": {
"h": 217.403,
"s": 68.142,
"l": 22.157
},
"oklch": {
"l": 0.31298,
"c": 0.09248,
"h": 260
},
"luminance": 0.02988
}Semantic roles & 50–950 ramp
primary
#122F5F
secondary
#977236
accent
#A93DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D