#2243A2#2243A2
#2243A2 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.0% C 0.159 H 265.4°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2243A2 |
|---|---|
| RGB | rgb(34, 67, 162) |
| HSL | hsl(225, 65%, 38%) |
| HSV | hsv(225, 79%, 64%) |
| CMYK | cmyk(79%, 58.6%, 0%, 36.5%) |
| CIE-LAB | lab(31.72, 23.77, -54.77) |
| CIE-LCH | lch(31.72, 59.71, 293.46°) |
| OKLab | oklab(42.02% -0.0128 -0.1582) |
| OKLCH | oklch(42.02% 0.159 265.4) |
| XYZ | xyz(9.1861, 6.9620, 35.0351) |
| Luminance | 0.0696 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.60
Cobalt (survey)
#1E488F
ΔE00 4.03
Sapphire (survey)
#2138AB
ΔE00 4.07
Blue Blue
#2242C7
ΔE00 5.31
Sapphire
#0F52BA
ΔE00 5.80
Blueberry
#464196
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2243A2 #A28122
analogous
#2283A2 #2243A2 #4122A2
triadic
#2243A2 #A22243 #43A222
tetradic
#2243A2 #A22283 #A28122 #22A241
square
#2243A2 #A22283 #A28122 #22A241
split-complementary
#2243A2 #A24122 #83A222
monochromatic
#0D193D #172E6F #2243A2 #2E59D3 #6181DE
Accessibility & contrast
On white
8.78
#2243A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2243A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2243A2
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2243A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2243A2 | 1.00 | 8.78 | 2.39 | 8.78 |
| #FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2243a2; /* rgb */ color: rgb(34, 67, 162); /* oklch */ color: oklch(42.0% 0.159 265.4);
Tailwind
colors: {
custom: {
50: '#7276be',
500: '#2243a2',
950: '#000000',
},
}SCSS
$custom: #2243a2; $custom-light: #7276be; $custom-dark: #000000;
JSON
{
"hex": "#2243a2",
"rgb": {
"r": 34,
"g": 67,
"b": 162
},
"hsl": {
"h": 224.531,
"s": 65.306,
"l": 38.431
},
"oklch": {
"l": 0.42015,
"c": 0.15871,
"h": 265.4
},
"luminance": 0.06963
}Semantic roles & 50–950 ramp
primary
#2243A2
secondary
#C3A85D
accent
#BD40E8
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81