#2242A3#2242A3
#2242A3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.161 H 265.7°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2242A3 |
|---|---|
| RGB | rgb(34, 66, 163) |
| HSL | hsl(225, 65%, 39%) |
| HSV | hsv(225, 79%, 64%) |
| CMYK | cmyk(79.1%, 59.5%, 0%, 36.1%) |
| CIE-LAB | lab(31.53, 24.83, -55.68) |
| CIE-LCH | lch(31.53, 60.97, 294.03°) |
| OKLab | oklab(41.9% -0.0121 -0.1609) |
| OKLCH | oklch(41.9% 0.161 265.7) |
| XYZ | xyz(9.2164, 6.8798, 35.4854) |
| Luminance | 0.0688 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.85
Sapphire (survey)
#2138AB
ΔE00 3.66
Cobalt (survey)
#1E488F
ΔE00 4.41
Blue Blue
#2242C7
ΔE00 5.09
Blueberry
#464196
ΔE00 5.70
Sapphire
#0F52BA
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2242A3 #A38322
analogous
#2282A3 #2242A3 #4222A3
triadic
#2242A3 #A32242 #42A322
tetradic
#2242A3 #A32282 #A38322 #22A342
square
#2242A3 #A32282 #A38322 #22A342
split-complementary
#2242A3 #A34222 #82A322
monochromatic
#0D193E #172D70 #2242A3 #2F58D4 #6180DE
Accessibility & contrast
On white
8.84
#2242A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2242A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2242A3
8.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2242A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2242A3 | 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)
#0050A6
Deuteranopia (green-blind)
#0044A1
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2242a3; /* rgb */ color: rgb(34, 66, 163); /* oklch */ color: oklch(41.9% 0.161 265.7);
Tailwind
colors: {
custom: {
50: '#7275bf',
500: '#2242a3',
950: '#000000',
},
}SCSS
$custom: #2242a3; $custom-light: #7275bf; $custom-dark: #000000;
JSON
{
"hex": "#2242a3",
"rgb": {
"r": 34,
"g": 66,
"b": 163
},
"hsl": {
"h": 225.116,
"s": 65.482,
"l": 38.627
},
"oklch": {
"l": 0.419,
"c": 0.16133,
"h": 265.7
},
"luminance": 0.06881
}Semantic roles & 50–950 ramp
primary
#2242A3
secondary
#C3AA5E
accent
#BE3FE8
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090812
muted
#7B7B81