#2442A2#2442A2
#2442A2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.159 H 266.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2442A2 |
|---|---|
| RGB | rgb(36, 66, 162) |
| HSL | hsl(226, 64%, 39%) |
| HSV | hsv(226, 78%, 64%) |
| CMYK | cmyk(77.8%, 59.3%, 0%, 36.5%) |
| CIE-LAB | lab(31.53, 24.66, -55.08) |
| CIE-LCH | lch(31.53, 60.35, 294.12°) |
| OKLab | oklab(41.9% -0.0105 -0.1591) |
| OKLCH | oklch(41.9% 0.159 266.2) |
| XYZ | xyz(9.1951, 6.8791, 35.0186) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.02
Sapphire (survey)
#2138AB
ΔE00 3.66
Cobalt (survey)
#1E488F
ΔE00 4.41
Blue Blue
#2242C7
ΔE00 5.18
Blueberry
#464196
ΔE00 5.50
Sapphire
#0F52BA
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2442A2 #A28424
analogous
#2481A2 #2442A2 #4524A2
triadic
#2442A2 #A22442 #42A224
tetradic
#2442A2 #A22481 #A28424 #24A245
square
#2442A2 #A22481 #A28424 #24A245
split-complementary
#2442A2 #A24524 #81A224
monochromatic
#0E193E #192E70 #2442A2 #3258D1 #6481DD
Accessibility & contrast
On white
8.84
#2442A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2442A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2442A2
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2442A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2442A2 | 1.00 | 8.84 | 2.38 | 8.84 |
| #FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2442a2; /* rgb */ color: rgb(36, 66, 162); /* oklch */ color: oklch(41.9% 0.159 266.2);
Tailwind
colors: {
custom: {
50: '#7376be',
500: '#2442a2',
950: '#000000',
},
}SCSS
$custom: #2442a2; $custom-light: #7376be; $custom-dark: #000000;
JSON
{
"hex": "#2442a2",
"rgb": {
"r": 36,
"g": 66,
"b": 162
},
"hsl": {
"h": 225.714,
"s": 63.636,
"l": 38.824
},
"oklch": {
"l": 0.41895,
"c": 0.15941,
"h": 266.2
},
"luminance": 0.0688
}Semantic roles & 50–950 ramp
primary
#2442A2
secondary
#C2AB60
accent
#BF41E7
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81