#2B2EAA#2B2EAA
#2B2EAA is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.191 H 272.4°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2EAA |
|---|---|
| RGB | rgb(43, 46, 170) |
| HSL | hsl(239, 60%, 42%) |
| HSV | hsv(239, 75%, 67%) |
| CMYK | cmyk(74.7%, 72.9%, 0%, 33.3%) |
| CIE-LAB | lab(27.76, 41.17, -66.07) |
| CIE-LCH | lch(27.76, 77.84, 301.93°) |
| OKLab | oklab(39.46% 0.008 -0.1912) |
| OKLCH | oklch(39.46% 0.191 272.4) |
| XYZ | xyz(9.2265, 5.3689, 38.5725) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.17
Indigo Blue
#3A18B1
ΔE00 4.84
True Blue
#010FCC
ΔE00 6.25
Royal
#0C1793
ΔE00 6.31
Ocean Blue
#4F42B5
ΔE00 6.62
Blue Blue
#2242C7
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2EAA #AAA72B
analogous
#2B6EAA #2B2EAA #682BAA
triadic
#2B2EAA #AA2B2E #2EAA2B
tetradic
#2B2EAA #AA2B6E #AAA72B #2BAA68
square
#2B2EAA #AA2B6E #AAA72B #2BAA68
split-complementary
#2B2EAA #AA682B #6EAA2B
monochromatic
#121448 #1F2179 #2B2EAA #4346CF #7476DC
Accessibility & contrast
On white
10.13
#2B2EAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2B2EAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2EAA
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2EAA | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#005169
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2b2eaa; /* rgb */ color: rgb(43, 46, 170); /* oklch */ color: oklch(39.5% 0.191 272.4);
Tailwind
colors: {
custom: {
50: '#7968c4',
500: '#2b2eaa',
950: '#000000',
},
}SCSS
$custom: #2b2eaa; $custom-light: #7968c4; $custom-dark: #000000;
JSON
{
"hex": "#2b2eaa",
"rgb": {
"r": 43,
"g": 46,
"b": 170
},
"hsl": {
"h": 238.583,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.39456,
"c": 0.19135,
"h": 272.4
},
"luminance": 0.0537
}Semantic roles & 50–950 ramp
primary
#2B2EAA
secondary
#C3C16E
accent
#DF45E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82