#2B42B1#2B42B1
#2B42B1 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.5% C 0.178 H 268.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).
Color values
| HEX | #2B42B1 |
|---|---|
| RGB | rgb(43, 66, 177) |
| HSL | hsl(230, 61%, 43%) |
| HSV | hsv(230, 76%, 69%) |
| CMYK | cmyk(75.7%, 62.7%, 0%, 30.6%) |
| CIE-LAB | lab(33.10, 31.12, -61.48) |
| CIE-LCH | lch(33.10, 68.91, 296.85°) |
| OKLab | oklab(43.54% -0.0042 -0.1777) |
| OKLCH | oklch(43.54% 0.178 268.6) |
| XYZ | xyz(10.8775, 7.5832, 42.4769) |
| Luminance | 0.0758 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.87
Sapphire (survey)
#2138AB
ΔE00 2.98
Cobalt
#0047AB
ΔE00 4.17
Ocean Blue
#4F42B5
ΔE00 5.02
Blueberry
#464196
ΔE00 5.58
Blue (survey)
#0343DF
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B42B1 #B19A2B
analogous
#2B85B1 #2B42B1 #572BB1
triadic
#2B42B1 #B12B42 #42B12B
tetradic
#2B42B1 #B12B85 #B19A2B #2BB157
square
#2B42B1 #B12B85 #B19A2B #2BB157
split-complementary
#2B42B1 #B1572B #85B12B
monochromatic
#131D4F #1F3080 #2B42B1 #475FD2 #788ADE
Accessibility & contrast
On white
8.34
#2B42B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#2B42B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B42B1
8.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B42B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B42B1 | 1.00 | 8.34 | 2.52 | 8.34 |
| #FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0048AF
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b42b1; /* rgb */ color: rgb(43, 66, 177); /* oklch */ color: oklch(43.5% 0.178 268.6);
Tailwind
colors: {
custom: {
50: '#7976c9',
500: '#2b42b1',
950: '#000000',
},
}SCSS
$custom: #2b42b1; $custom-light: #7976c9; $custom-dark: #000000;
JSON
{
"hex": "#2b42b1",
"rgb": {
"r": 43,
"g": 66,
"b": 177
},
"hsl": {
"h": 229.701,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.43538,
"c": 0.17777,
"h": 268.6
},
"luminance": 0.07584
}Semantic roles & 50–950 ramp
primary
#2B42B1
secondary
#C6B872
accent
#C944E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82