#122F60#122F60
#122F60 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.094 H 260.2°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).
Color values
| HEX | #122F60 |
|---|---|
| RGB | rgb(18, 47, 96) |
| HSL | hsl(218, 68%, 22%) |
| HSV | hsv(218, 81%, 38%) |
| CMYK | cmyk(81.3%, 51%, 0%, 62.4%) |
| CIE-LAB | lab(20.07, 8.90, -32.26) |
| CIE-LCH | lch(20.07, 33.47, 285.43°) |
| OKLab | oklab(31.38% -0.0159 -0.0926) |
| OKLCH | oklch(31.38% 0.094 260.2) |
| XYZ | xyz(3.3765, 3.0058, 11.4663) |
| Luminance | 0.0301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.32
Marine Blue
#01386A
ΔE00 4.20
Navy Blue
#1B2A4A
ΔE00 4.74
Darkish Blue
#014182
ΔE00 7.25
Twilight Blue
#0A437A
ΔE00 7.46
Prussian Blue
#004577
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122F60 #604312
analogous
#125660 #122F60 #1C1260
triadic
#122F60 #60122F #2F6012
tetradic
#122F60 #601256 #604312 #12601C
square
#122F60 #601256 #604312 #12601C
split-complementary
#122F60 #601C12 #566012
monochromatic
#050D1A #08162C #122F60 #1C4894 #2561C7
Accessibility & contrast
On white
13.12
#122F60 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#122F60 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122F60
13.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122F60 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122F60 | 1.00 | 13.12 | 1.60 | 13.12 |
| #FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#143462
Deuteranopia (green-blind)
#002D5F
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #122f60; /* rgb */ color: rgb(18, 47, 96); /* oklch */ color: oklch(31.4% 0.094 260.2);
Tailwind
colors: {
custom: {
50: '#5d678d',
500: '#122f60',
950: '#000000',
},
}SCSS
$custom: #122f60; $custom-light: #5d678d; $custom-dark: #000000;
JSON
{
"hex": "#122f60",
"rgb": {
"r": 18,
"g": 47,
"b": 96
},
"hsl": {
"h": 217.692,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.31378,
"c": 0.094,
"h": 260.2
},
"luminance": 0.03006
}Semantic roles & 50–950 ramp
primary
#122F60
secondary
#987436
accent
#AA3DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D