#2B42B4#2B42B4
#2B42B4 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.8% C 0.182 H 268.6°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2B42B4 |
|---|---|
| RGB | rgb(43, 66, 180) |
| HSL | hsl(230, 61%, 44%) |
| HSV | hsv(230, 76%, 71%) |
| CMYK | cmyk(76.1%, 63.3%, 0%, 29.4%) |
| CIE-LAB | lab(33.36, 32.23, -62.84) |
| CIE-LCH | lch(33.36, 70.62, 297.15°) |
| OKLab | oklab(43.81% -0.0043 -0.1817) |
| OKLCH | oklch(43.81% 0.182 268.6) |
| XYZ | xyz(11.1798, 7.7041, 44.0690) |
| Luminance | 0.0770 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.46
Sapphire (survey)
#2138AB
ΔE00 3.09
Cobalt
#0047AB
ΔE00 4.38
Ocean Blue
#4F42B5
ΔE00 4.86
Blue (survey)
#0343DF
ΔE00 5.29
Blueberry
#464196
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B42B4 #B49D2B
analogous
#2B86B4 #2B42B4 #582BB4
triadic
#2B42B4 #B42B42 #42B42B
tetradic
#2B42B4 #B42B86 #B49D2B #2BB458
square
#2B42B4 #B42B86 #B49D2B #2BB458
split-complementary
#2B42B4 #B4582B #86B42B
monochromatic
#131E51 #1F3083 #2B42B4 #4960D3 #7A8BDF
Accessibility & contrast
On white
8.26
#2B42B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#2B42B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B42B4
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B42B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B42B4 | 1.00 | 8.26 | 2.54 | 8.26 |
| #FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0048B2
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b42b4; /* rgb */ color: rgb(43, 66, 180); /* oklch */ color: oklch(43.8% 0.182 268.6);
Tailwind
colors: {
custom: {
50: '#7a76cb',
500: '#2b42b4',
950: '#000000',
},
}SCSS
$custom: #2b42b4; $custom-light: #7a76cb; $custom-dark: #000000;
JSON
{
"hex": "#2b42b4",
"rgb": {
"r": 43,
"g": 66,
"b": 180
},
"hsl": {
"h": 229.927,
"s": 61.435,
"l": 43.725
},
"oklch": {
"l": 0.4381,
"c": 0.18174,
"h": 268.6
},
"luminance": 0.07705
}Semantic roles & 50–950 ramp
primary
#2B42B4
secondary
#C7B973
accent
#C943E5
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82