#2442B2#2442B2
#2442B2 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.181 H 266.7°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2442B2 |
|---|---|
| RGB | rgb(36, 66, 178) |
| HSL | hsl(227, 66%, 42%) |
| HSV | hsv(227, 80%, 70%) |
| CMYK | cmyk(79.8%, 62.9%, 0%, 30.2%) |
| CIE-LAB | lab(32.89, 30.78, -62.44) |
| CIE-LCH | lch(32.89, 69.61, 296.24°) |
| OKLab | oklab(43.32% -0.0103 -0.1806) |
| OKLCH | oklch(43.32% 0.181 266.7) |
| XYZ | xyz(10.7088, 7.4846, 42.9911) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.85
Sapphire (survey)
#2138AB
ΔE00 3.06
Cobalt
#0047AB
ΔE00 3.66
Blue (survey)
#0343DF
ΔE00 5.61
Ocean Blue
#4F42B5
ΔE00 5.63
Sapphire
#0F52BA
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2442B2 #B29424
analogous
#2489B2 #2442B2 #4D24B2
triadic
#2442B2 #B22442 #42B224
tetradic
#2442B2 #B22489 #B29424 #24B24D
square
#2442B2 #B22489 #B29424 #24B24D
split-complementary
#2442B2 #B24D24 #89B224
monochromatic
#0F1C4C #1A2F7F #2442B2 #3C5DD8 #6F87E2
Accessibility & contrast
On white
8.41
#2442B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#2442B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2442B2
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2442B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2442B2 | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#005F74
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2442b2; /* rgb */ color: rgb(36, 66, 178); /* oklch */ color: oklch(43.3% 0.181 266.7);
Tailwind
colors: {
custom: {
50: '#7776ca',
500: '#2442b2',
950: '#000000',
},
}SCSS
$custom: #2442b2; $custom-light: #7776ca; $custom-dark: #000000;
JSON
{
"hex": "#2442b2",
"rgb": {
"r": 36,
"g": 66,
"b": 178
},
"hsl": {
"h": 227.324,
"s": 66.355,
"l": 41.961
},
"oklch": {
"l": 0.43324,
"c": 0.18094,
"h": 266.7
},
"luminance": 0.07486
}Semantic roles & 50–950 ramp
primary
#2442B2
secondary
#C8B469
accent
#C53FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82