#122E76#122E76
#122E76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.128 H 264.3°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).
Color values
| HEX | #122E76 |
|---|---|
| RGB | rgb(18, 46, 118) |
| HSL | hsl(223, 74%, 27%) |
| HSV | hsv(223, 85%, 46%) |
| CMYK | cmyk(84.7%, 61%, 0%, 53.7%) |
| CIE-LAB | lab(21.54, 19.00, -44.12) |
| CIE-LCH | lch(21.54, 48.04, 293.29°) |
| OKLab | oklab(33.06% -0.0128 -0.1275) |
| OKLCH | oklch(33.06% 0.128 264.3) |
| XYZ | xyz(4.4953, 3.3901, 17.5535) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.42
Marine Blue
#01386A
ΔE00 5.90
Midnight Blue
#191970
ΔE00 7.01
Darkish Blue
#014182
ΔE00 7.21
Twilight Blue
#0A437A
ΔE00 8.07
Navy Blue
#1B2A4A
ΔE00 8.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#122E76 #765A12
analogous
#126076 #122E76 #281276
triadic
#122E76 #76122E #2E7612
tetradic
#122E76 #761260 #765A12 #127628
square
#122E76 #761260 #765A12 #127628
split-complementary
#122E76 #762812 #607612
monochromatic
#040A1B #0A1941 #122E76 #1A43AB #2559DE
Accessibility & contrast
On white
12.51
#122E76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#122E76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #122E76
12.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##122E76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##122E76 | 1.00 | 12.51 | 1.68 | 12.51 |
| #FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #122e76; /* rgb */ color: rgb(18, 46, 118); /* oklch */ color: oklch(33.1% 0.128 264.3);
Tailwind
colors: {
custom: {
50: '#63669e',
500: '#122e76',
950: '#000000',
},
}SCSS
$custom: #122e76; $custom-light: #63669e; $custom-dark: #000000;
JSON
{
"hex": "#122e76",
"rgb": {
"r": 18,
"g": 46,
"b": 118
},
"hsl": {
"h": 223.2,
"s": 73.529,
"l": 26.667
},
"oklch": {
"l": 0.3306,
"c": 0.12818,
"h": 264.3
},
"luminance": 0.03391
}Semantic roles & 50–950 ramp
primary
#122E76
secondary
#AD8C37
accent
#BD38F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E