#2B42B5#2B42B5
#2B42B5 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.9% C 0.183 H 268.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2B42B5 |
|---|---|
| RGB | rgb(43, 66, 181) |
| HSL | hsl(230, 62%, 44%) |
| HSV | hsv(230, 76%, 71%) |
| CMYK | cmyk(76.2%, 63.5%, 0%, 29%) |
| CIE-LAB | lab(33.45, 32.60, -63.29) |
| CIE-LCH | lch(33.45, 71.19, 297.25°) |
| OKLab | oklab(43.9% -0.0043 -0.183) |
| OKLCH | oklch(43.9% 0.183 268.6) |
| XYZ | xyz(11.2821, 7.7450, 44.6074) |
| Luminance | 0.0775 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.32
Sapphire (survey)
#2138AB
ΔE00 3.14
Cobalt
#0047AB
ΔE00 4.46
Ocean Blue
#4F42B5
ΔE00 4.82
Blue (survey)
#0343DF
ΔE00 5.16
Blueberry
#464196
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B42B5 #B59E2B
analogous
#2B87B5 #2B42B5 #592BB5
triadic
#2B42B5 #B52B42 #42B52B
tetradic
#2B42B5 #B52B87 #B59E2B #2BB559
square
#2B42B5 #B52B87 #B59E2B #2BB559
split-complementary
#2B42B5 #B5592B #87B52B
monochromatic
#141E52 #1F3084 #2B42B5 #4960D4 #7B8CE0
Accessibility & contrast
On white
8.24
#2B42B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#2B42B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B42B5
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B42B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B42B5 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #2b42b5; /* rgb */ color: rgb(43, 66, 181); /* oklch */ color: oklch(43.9% 0.183 268.6);
Tailwind
colors: {
custom: {
50: '#7a76cc',
500: '#2b42b5',
950: '#000000',
},
}SCSS
$custom: #2b42b5; $custom-light: #7a76cc; $custom-dark: #000000;
JSON
{
"hex": "#2b42b5",
"rgb": {
"r": 43,
"g": 66,
"b": 181
},
"hsl": {
"h": 230,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.43901,
"c": 0.18306,
"h": 268.6
},
"luminance": 0.07746
}Semantic roles & 50–950 ramp
primary
#2B42B5
secondary
#C8BA74
accent
#CA43E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82