#2B2FB1#2B2FB1
#2B2FB1 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.3% C 0.199 H 271.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2FB1 |
|---|---|
| RGB | rgb(43, 47, 177) |
| HSL | hsl(238, 61%, 43%) |
| HSV | hsv(238, 76%, 69%) |
| CMYK | cmyk(75.7%, 73.4%, 0%, 30.6%) |
| CIE-LAB | lab(28.69, 42.97, -68.72) |
| CIE-LCH | lch(28.69, 81.05, 302.02°) |
| OKLab | oklab(40.34% 0.0064 -0.1989) |
| OKLCH | oklch(40.34% 0.199 271.8) |
| XYZ | xyz(9.9459, 5.7199, 42.1663) |
| Luminance | 0.0572 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.12
Indigo Blue
#3A18B1
ΔE00 4.87
True Blue
#010FCC
ΔE00 5.89
Blue Blue
#2242C7
ΔE00 5.94
Ocean Blue
#4F42B5
ΔE00 6.19
Blue With A Hint Of Purple
#533CC6
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2FB1 #B1AD2B
analogous
#2B72B1 #2B2FB1 #6A2BB1
triadic
#2B2FB1 #B12B2F #2FB12B
tetradic
#2B2FB1 #B12B72 #B1AD2B #2BB16A
square
#2B2FB1 #B12B72 #B1AD2B #2BB16A
split-complementary
#2B2FB1 #B16A2B #72B12B
monochromatic
#13154F #1F2280 #2B2FB1 #474BD2 #787BDE
Accessibility & contrast
On white
9.79
#2B2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2B2FB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2FB1
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2FB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2FB1 | 1.00 | 9.79 | 2.14 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b2fb1; /* rgb */ color: rgb(43, 47, 177); /* oklch */ color: oklch(40.3% 0.199 271.8);
Tailwind
colors: {
custom: {
50: '#7b69ca',
500: '#2b2fb1',
950: '#000000',
},
}SCSS
$custom: #2b2fb1; $custom-light: #7b69ca; $custom-dark: #000000;
JSON
{
"hex": "#2b2fb1",
"rgb": {
"r": 43,
"g": 47,
"b": 177
},
"hsl": {
"h": 238.209,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.40338,
"c": 0.19902,
"h": 271.8
},
"luminance": 0.05721
}Semantic roles & 50–950 ramp
primary
#2B2FB1
secondary
#C6C472
accent
#DF44E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82