#2242BC#2242BC
#2242BC is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.2% C 0.194 H 266.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2242BC |
|---|---|
| RGB | rgb(34, 66, 188) |
| HSL | hsl(228, 69%, 44%) |
| HSV | hsv(228, 82%, 74%) |
| CMYK | cmyk(81.9%, 64.9%, 0%, 26.3%) |
| CIE-LAB | lab(33.70, 34.36, -67.02) |
| CIE-LCH | lch(33.70, 75.31, 297.15°) |
| OKLab | oklab(44.18% -0.0121 -0.1941) |
| OKLCH | oklch(44.18% 0.194 266.4) |
| XYZ | xyz(11.6818, 7.8659, 48.4698) |
| Luminance | 0.0787 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.50
Sapphire (survey)
#2138AB
ΔE00 3.56
Blue (survey)
#0343DF
ΔE00 4.28
Cobalt
#0047AB
ΔE00 4.44
Ocean Blue
#4F42B5
ΔE00 5.35
Sapphire
#0F52BA
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2242BC #BC9C22
analogous
#228FBC #2242BC #4F22BC
triadic
#2242BC #BC2242 #42BC22
tetradic
#2242BC #BC228F #BC9C22 #22BC4F
square
#2242BC #BC228F #BC9C22 #22BC4F
split-complementary
#2242BC #BC4F22 #8FBC22
monochromatic
#0F1E54 #193088 #2242BC #3F60DC #738BE6
Accessibility & contrast
On white
8.16
#2242BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.57
#2242BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2242BC
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2242BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2242BC | 1.00 | 8.16 | 2.57 | 8.16 |
| #FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2242bc; /* rgb */ color: rgb(34, 66, 188); /* oklch */ color: oklch(44.2% 0.194 266.4);
Tailwind
colors: {
custom: {
50: '#7976d1',
500: '#2242bc',
950: '#000000',
},
}SCSS
$custom: #2242bc; $custom-light: #7976d1; $custom-dark: #000000;
JSON
{
"hex": "#2242bc",
"rgb": {
"r": 34,
"g": 66,
"b": 188
},
"hsl": {
"h": 227.532,
"s": 69.369,
"l": 43.529
},
"oklch": {
"l": 0.44179,
"c": 0.19446,
"h": 266.4
},
"luminance": 0.07867
}Semantic roles & 50–950 ramp
primary
#2242BC
secondary
#CDB96D
accent
#C73CEC
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83