#2242B0#2242B0
#2242B0 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.179 H 266.2°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2242B0 |
|---|---|
| RGB | rgb(34, 66, 176) |
| HSL | hsl(226, 68%, 41%) |
| HSV | hsv(226, 81%, 69%) |
| CMYK | cmyk(80.7%, 62.5%, 0%, 31%) |
| CIE-LAB | lab(32.63, 29.84, -61.66) |
| CIE-LCH | lch(32.63, 68.50, 295.82°) |
| OKLab | oklab(43.06% -0.0119 -0.1784) |
| OKLCH | oklch(43.06% 0.179 266.2) |
| XYZ | xyz(10.4416, 7.3699, 41.9381) |
| Luminance | 0.0737 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.07
Blue Blue
#2242C7
ΔE00 3.20
Cobalt
#0047AB
ΔE00 3.36
Sapphire
#0F52BA
ΔE00 5.81
Blue (survey)
#0343DF
ΔE00 5.91
Ocean Blue
#4F42B5
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2242B0 #B09022
analogous
#2289B0 #2242B0 #4922B0
triadic
#2242B0 #B02242 #42B022
tetradic
#2242B0 #B02289 #B09022 #22B049
square
#2242B0 #B02289 #B09022 #22B049
split-complementary
#2242B0 #B04922 #89B022
monochromatic
#0E1C49 #182F7D #2242B0 #375BD8 #6A85E2
Accessibility & contrast
On white
8.49
#2242B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.47
#2242B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2242B0
8.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2242B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2242B0 | 1.00 | 8.49 | 2.47 | 8.49 |
| #FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2242b0; /* rgb */ color: rgb(34, 66, 176); /* oklch */ color: oklch(43.1% 0.179 266.2);
Tailwind
colors: {
custom: {
50: '#7676c9',
500: '#2242b0',
950: '#000000',
},
}SCSS
$custom: #2242b0; $custom-light: #7676c9; $custom-dark: #000000;
JSON
{
"hex": "#2242b0",
"rgb": {
"r": 34,
"g": 66,
"b": 176
},
"hsl": {
"h": 226.479,
"s": 67.619,
"l": 41.176
},
"oklch": {
"l": 0.43063,
"c": 0.17882,
"h": 266.2
},
"luminance": 0.07371
}Semantic roles & 50–950 ramp
primary
#2242B0
secondary
#C8B266
accent
#C33DEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82