#122F62#122F62
#122F62 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.097 H 260.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).
Color values
| HEX | #122F62 |
|---|---|
| RGB | rgb(18, 47, 98) |
| HSL | hsl(218, 69%, 23%) |
| HSV | hsv(218, 82%, 38%) |
| CMYK | cmyk(81.6%, 52%, 0%, 61.6%) |
| CIE-LAB | lab(20.22, 9.76, -33.33) |
| CIE-LCH | lch(20.22, 34.74, 286.33°) |
| OKLab | oklab(31.54% -0.0156 -0.0958) |
| OKLCH | oklch(31.54% 0.097 260.8) |
| XYZ | xyz(3.4698, 3.0431, 11.9574) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 1.43
Marine Blue
#01386A
ΔE00 4.25
Navy Blue
#1B2A4A
ΔE00 5.03
Darkish Blue
#014182
ΔE00 7.15
Twilight Blue
#0A437A
ΔE00 7.44
Prussian Blue
#004577
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122F62 #624512
analogous
#125762 #122F62 #1D1262
triadic
#122F62 #62122F #2F6212
tetradic
#122F62 #621257 #624512 #12621D
square
#122F62 #621257 #624512 #12621D
split-complementary
#122F62 #621D12 #576212
monochromatic
#050C1A #09162E #122F62 #1B4896 #2561C9
Accessibility & contrast
On white
13.05
#122F62 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#122F62 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122F62
13.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122F62 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122F62 | 1.00 | 13.05 | 1.61 | 13.05 |
| #FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#113564
Deuteranopia (green-blind)
#002D61
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #122f62; /* rgb */ color: rgb(18, 47, 98); /* oklch */ color: oklch(31.5% 0.097 260.8);
Tailwind
colors: {
custom: {
50: '#5e678f',
500: '#122f62',
950: '#000000',
},
}SCSS
$custom: #122f62; $custom-light: #5e678f; $custom-dark: #000000;
JSON
{
"hex": "#122f62",
"rgb": {
"r": 18,
"g": 47,
"b": 98
},
"hsl": {
"h": 218.25,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.3154,
"c": 0.09706,
"h": 260.8
},
"luminance": 0.03043
}Semantic roles & 50–950 ramp
primary
#122F62
secondary
#9A7636
accent
#AC3CEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D