#122B74#122B74
#122B74 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.129 H 265.2°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).
Color values
| HEX | #122B74 |
|---|---|
| RGB | rgb(18, 43, 116) |
| HSL | hsl(225, 73%, 26%) |
| HSV | hsv(225, 84%, 45%) |
| CMYK | cmyk(84.5%, 62.9%, 0%, 54.5%) |
| CIE-LAB | lab(20.51, 20.32, -44.53) |
| CIE-LCH | lch(20.51, 48.95, 294.52°) |
| OKLab | oklab(32.23% -0.0109 -0.1288) |
| OKLCH | oklch(32.23% 0.129 265.2) |
| XYZ | xyz(4.2646, 3.1168, 16.8964) |
| Luminance | 0.0312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.81
Midnight Blue
#191970
ΔE00 6.03
Marine Blue
#01386A
ΔE00 6.72
Navy Blue
#1B2A4A
ΔE00 8.05
Darkish Blue
#014182
ΔE00 8.21
Royal
#0C1793
ΔE00 8.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122B74 #745B12
analogous
#125C74 #122B74 #2A1274
triadic
#122B74 #74122B #2B7412
tetradic
#122B74 #74125C #745B12 #12742A
square
#122B74 #74125C #745B12 #12742A
split-complementary
#122B74 #742A12 #5C7412
monochromatic
#040A1A #0A173F #122B74 #1A3FA9 #2353DD
Accessibility & contrast
On white
12.94
#122B74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#122B74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122B74
12.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122B74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122B74 | 1.00 | 12.94 | 1.62 | 12.94 |
| #FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003676
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #122b74; /* rgb */ color: rgb(18, 43, 116); /* oklch */ color: oklch(32.2% 0.129 265.2);
Tailwind
colors: {
custom: {
50: '#63639d',
500: '#122b74',
950: '#000000',
},
}SCSS
$custom: #122b74; $custom-light: #63639d; $custom-dark: #000000;
JSON
{
"hex": "#122b74",
"rgb": {
"r": 18,
"g": 43,
"b": 116
},
"hsl": {
"h": 224.694,
"s": 73.134,
"l": 26.275
},
"oklch": {
"l": 0.32229,
"c": 0.12926,
"h": 265.2
},
"luminance": 0.03117
}Semantic roles & 50–950 ramp
primary
#122B74
secondary
#AB8D37
accent
#C138F0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E