#2B2EA0#2B2EA0
#2B2EA0 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.179 H 273.0°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2EA0 |
|---|---|
| RGB | rgb(43, 46, 160) |
| HSL | hsl(238, 58%, 40%) |
| HSV | hsv(238, 73%, 63%) |
| CMYK | cmyk(73.1%, 71.2%, 0%, 37.3%) |
| CIE-LAB | lab(26.75, 37.71, -61.69) |
| CIE-LCH | lch(26.75, 72.30, 301.44°) |
| OKLab | oklab(38.43% 0.0095 -0.1784) |
| OKLCH | oklch(38.43% 0.179 273) |
| XYZ | xyz(8.3163, 5.0048, 33.7786) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.37
Indigo Blue
#3A18B1
ΔE00 5.48
Royal
#0C1793
ΔE00 5.79
Blueberry
#464196
ΔE00 6.41
Cobalt Blue
#030AA7
ΔE00 6.91
Darkslateblue
#483D8B
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2EA0 #A09D2B
analogous
#2B68A0 #2B2EA0 #632BA0
triadic
#2B2EA0 #A02B2E #2EA02B
tetradic
#2B2EA0 #A02B68 #A09D2B #2BA063
square
#2B2EA0 #A02B68 #A09D2B #2BA063
split-complementary
#2B2EA0 #A0632B #68A02B
monochromatic
#111240 #1E2070 #2B2EA0 #3D41CB #6E70D8
Accessibility & contrast
On white
10.49
#2B2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2B2EA0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2EA0
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2EA0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2EA0 | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A3
Deuteranopia (green-blind)
#003A9E
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2b2ea0; /* rgb */ color: rgb(43, 46, 160); /* oklch */ color: oklch(38.4% 0.179 273.0);
Tailwind
colors: {
custom: {
50: '#7767bd',
500: '#2b2ea0',
950: '#000000',
},
}SCSS
$custom: #2b2ea0; $custom-light: #7767bd; $custom-dark: #000000;
JSON
{
"hex": "#2b2ea0",
"rgb": {
"r": 43,
"g": 46,
"b": 160
},
"hsl": {
"h": 238.462,
"s": 57.635,
"l": 39.804
},
"oklch": {
"l": 0.38426,
"c": 0.17866,
"h": 273
},
"luminance": 0.05006
}Semantic roles & 50–950 ramp
primary
#2B2EA0
secondary
#BFBD68
accent
#DD47E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81