#2B42B0#2B42B0
#2B42B0 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.4% C 0.176 H 268.6°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #2B42B0 |
|---|---|
| RGB | rgb(43, 66, 176) |
| HSL | hsl(230, 61%, 43%) |
| HSV | hsv(230, 76%, 69%) |
| CMYK | cmyk(75.6%, 62.5%, 0%, 31%) |
| CIE-LAB | lab(33.01, 30.75, -61.03) |
| CIE-LCH | lch(33.01, 68.34, 296.74°) |
| OKLab | oklab(43.45% -0.0042 -0.1764) |
| OKLCH | oklch(43.45% 0.176 268.6) |
| XYZ | xyz(10.7782, 7.5434, 41.9539) |
| Luminance | 0.0755 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.96
Blue Blue
#2242C7
ΔE00 3.01
Cobalt
#0047AB
ΔE00 4.11
Ocean Blue
#4F42B5
ΔE00 5.08
Blueberry
#464196
ΔE00 5.50
Blue (survey)
#0343DF
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B42B0 #B0992B
analogous
#2B84B0 #2B42B0 #562BB0
triadic
#2B42B0 #B02B42 #42B02B
tetradic
#2B42B0 #B02B84 #B0992B #2BB056
square
#2B42B0 #B02B84 #B0992B #2BB056
split-complementary
#2B42B0 #B0562B #84B02B
monochromatic
#131D4E #1F307F #2B42B0 #465ED2 #7889DE
Accessibility & contrast
On white
8.37
#2B42B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#2B42B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B42B0
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B42B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B42B0 | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #2b42b0; /* rgb */ color: rgb(43, 66, 176); /* oklch */ color: oklch(43.4% 0.176 268.6);
Tailwind
colors: {
custom: {
50: '#7976c9',
500: '#2b42b0',
950: '#000000',
},
}SCSS
$custom: #2b42b0; $custom-light: #7976c9; $custom-dark: #000000;
JSON
{
"hex": "#2b42b0",
"rgb": {
"r": 43,
"g": 66,
"b": 176
},
"hsl": {
"h": 229.624,
"s": 60.731,
"l": 42.941
},
"oklch": {
"l": 0.43448,
"c": 0.17644,
"h": 268.6
},
"luminance": 0.07545
}Semantic roles & 50–950 ramp
primary
#2B42B0
secondary
#C6B771
accent
#C844E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82