#2B2EAB#2B2EAB
#2B2EAB is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.193 H 272.3°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2EAB |
|---|---|
| RGB | rgb(43, 46, 171) |
| HSL | hsl(239, 60%, 42%) |
| HSV | hsv(239, 75%, 67%) |
| CMYK | cmyk(74.9%, 73.1%, 0%, 32.9%) |
| CIE-LAB | lab(27.86, 41.51, -66.50) |
| CIE-LCH | lch(27.86, 78.39, 301.97°) |
| OKLab | oklab(39.56% 0.0078 -0.1924) |
| OKLCH | oklch(39.56% 0.193 272.3) |
| XYZ | xyz(9.3215, 5.4069, 39.0726) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.18
Indigo Blue
#3A18B1
ΔE00 4.80
True Blue
#010FCC
ΔE00 6.16
Royal
#0C1793
ΔE00 6.38
Blue Blue
#2242C7
ΔE00 6.56
Ocean Blue
#4F42B5
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2EAB #ABA82B
analogous
#2B6EAB #2B2EAB #682BAB
triadic
#2B2EAB #AB2B2E #2EAB2B
tetradic
#2B2EAB #AB2B6E #ABA82B #2BAB68
square
#2B2EAB #AB2B6E #ABA82B #2BAB68
split-complementary
#2B2EAB #AB682B #6EAB2B
monochromatic
#121449 #1F217A #2B2EAB #4347D0 #7477DC
Accessibility & contrast
On white
10.09
#2B2EAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2B2EAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2EAB
10.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2EAB | 1.00 | 10.09 | 2.08 | 10.09 |
| #FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AF
Deuteranopia (green-blind)
#003BA9
Tritanopia (blue-blind)
#00526A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2b2eab; /* rgb */ color: rgb(43, 46, 171); /* oklch */ color: oklch(39.6% 0.193 272.3);
Tailwind
colors: {
custom: {
50: '#7968c5',
500: '#2b2eab',
950: '#000000',
},
}SCSS
$custom: #2b2eab; $custom-light: #7968c5; $custom-dark: #000000;
JSON
{
"hex": "#2b2eab",
"rgb": {
"r": 43,
"g": 46,
"b": 171
},
"hsl": {
"h": 238.594,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.3956,
"c": 0.19259,
"h": 272.3
},
"luminance": 0.05408
}Semantic roles & 50–950 ramp
primary
#2B2EAB
secondary
#C4C26E
accent
#DF45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82