#2B2FBA#2B2FBA
#2B2FBA is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.3% C 0.210 H 271.3°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2FBA |
|---|---|
| RGB | rgb(43, 47, 186) |
| HSL | hsl(238, 62%, 45%) |
| HSV | hsv(238, 77%, 73%) |
| CMYK | cmyk(76.9%, 74.7%, 0%, 27.1%) |
| CIE-LAB | lab(29.64, 45.99, -72.51) |
| CIE-LCH | lch(29.64, 85.87, 302.39°) |
| OKLab | oklab(41.29% 0.0049 -0.2099) |
| OKLCH | oklch(41.29% 0.21 271.3) |
| XYZ | xyz(10.8727, 6.0906, 47.0474) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.70
Indigo Blue
#3A18B1
ΔE00 4.90
True Blue
#010FCC
ΔE00 5.40
Blue Blue
#2242C7
ΔE00 5.46
Blue With A Hint Of Purple
#533CC6
ΔE00 5.72
Blurple
#5539CC
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2FBA #BAB62B
analogous
#2B76BA #2B2FBA #6F2BBA
triadic
#2B2FBA #BA2B2F #2FBA2B
tetradic
#2B2FBA #BA2B76 #BAB62B #2BBA6F
square
#2B2FBA #BA2B76 #BAB62B #2BBA6F
split-complementary
#2B2FBA #BA6F2B #76BA2B
monochromatic
#141657 #202288 #2B2FBA #4C50D6 #7E81E1
Accessibility & contrast
On white
9.47
#2B2FBA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2B2FBA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2FBA
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2FBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2FBA | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DBE
Deuteranopia (green-blind)
#003FB8
Tritanopia (blue-blind)
#005872
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2b2fba; /* rgb */ color: rgb(43, 47, 186); /* oklch */ color: oklch(41.3% 0.210 271.3);
Tailwind
colors: {
custom: {
50: '#7d69d0',
500: '#2b2fba',
950: '#000000',
},
}SCSS
$custom: #2b2fba; $custom-light: #7d69d0; $custom-dark: #000000;
JSON
{
"hex": "#2b2fba",
"rgb": {
"r": 43,
"g": 47,
"b": 186
},
"hsl": {
"h": 238.322,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.41291,
"c": 0.21,
"h": 271.3
},
"luminance": 0.06092
}Semantic roles & 50–950 ramp
primary
#2B2FBA
secondary
#CAC777
accent
#E142E6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83