#2420B3#2420B3
#2420B3 is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.217 H 270.9°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2420B3 |
|---|---|
| RGB | rgb(36, 32, 179) |
| HSL | hsl(242, 70%, 41%) |
| HSV | hsv(242, 82%, 70%) |
| CMYK | cmyk(79.9%, 82.1%, 0%, 29.8%) |
| CIE-LAB | lab(25.75, 51.09, -74.81) |
| CIE-LCH | lch(25.75, 90.59, 304.33°) |
| OKLab | oklab(38.23% 0.0032 -0.2165) |
| OKLCH | oklch(38.23% 0.217 270.9) |
| XYZ | xyz(9.3780, 4.6617, 43.0446) |
| Luminance | 0.0466 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.38
True Blue
#010FCC
ΔE00 3.38
Ultramarine
#2000B1
ΔE00 3.94
Mediumblue
#0000CD
ΔE00 4.11
Cobalt Blue
#030AA7
ΔE00 4.17
Royal Blue (survey)
#0504AA
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2420B3 #AFB320
analogous
#2066B3 #2420B3 #6E20B3
triadic
#2420B3 #B32420 #20B324
tetradic
#2420B3 #B32066 #AFB320 #20B36E
square
#2420B3 #B32066 #AFB320 #20B36E
split-complementary
#2420B3 #B36E20 #66B320
monochromatic
#0F0D4B #1A177F #2420B3 #3A35DB #6D69E4
Accessibility & contrast
On white
10.87
#2420B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2420B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2420B3
10.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2420B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2420B3 | 1.00 | 10.87 | 1.93 | 10.87 |
| #FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044B7
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004F6B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2420b3; /* rgb */ color: rgb(36, 32, 179); /* oklch */ color: oklch(38.2% 0.217 270.9);
Tailwind
colors: {
custom: {
50: '#7a60cb',
500: '#2420b3',
950: '#000000',
},
}SCSS
$custom: #2420b3; $custom-light: #7a60cb; $custom-dark: #000000;
JSON
{
"hex": "#2420b3",
"rgb": {
"r": 36,
"g": 32,
"b": 179
},
"hsl": {
"h": 241.633,
"s": 69.668,
"l": 41.373
},
"oklch": {
"l": 0.38227,
"c": 0.21654,
"h": 270.9
},
"luminance": 0.04663
}Semantic roles & 50–950 ramp
primary
#2420B3
secondary
#C7CA65
accent
#EC3BE8
background
#F8F5FC
surface
#EFEAF9
border
#CAC6D2
text
#0B0514
muted
#7C7982