#2B2FB0#2B2FB0
#2B2FB0 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.2% C 0.198 H 271.9°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2B2FB0 |
|---|---|
| RGB | rgb(43, 47, 176) |
| HSL | hsl(238, 61%, 43%) |
| HSV | hsv(238, 76%, 69%) |
| CMYK | cmyk(75.6%, 73.3%, 0%, 31%) |
| CIE-LAB | lab(28.59, 42.63, -68.29) |
| CIE-LCH | lch(28.59, 80.51, 301.97°) |
| OKLab | oklab(40.23% 0.0065 -0.1977) |
| OKLCH | oklch(40.23% 0.198 271.9) |
| XYZ | xyz(9.8466, 5.6802, 41.6433) |
| Luminance | 0.0568 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.07
Indigo Blue
#3A18B1
ΔE00 4.89
True Blue
#010FCC
ΔE00 5.96
Blue Blue
#2242C7
ΔE00 6.00
Ocean Blue
#4F42B5
ΔE00 6.22
Blue With A Hint Of Purple
#533CC6
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B2FB0 #B0AC2B
analogous
#2B72B0 #2B2FB0 #692BB0
triadic
#2B2FB0 #B02B2F #2FB02B
tetradic
#2B2FB0 #B02B72 #B0AC2B #2BB069
square
#2B2FB0 #B02B72 #B0AC2B #2BB069
split-complementary
#2B2FB0 #B0692B #72B02B
monochromatic
#13154E #1F227F #2B2FB0 #464BD2 #787BDE
Accessibility & contrast
On white
9.83
#2B2FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2B2FB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B2FB0
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B2FB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B2FB0 | 1.00 | 9.83 | 2.14 | 9.83 |
| #FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2b2fb0; /* rgb */ color: rgb(43, 47, 176); /* oklch */ color: oklch(40.2% 0.198 271.9);
Tailwind
colors: {
custom: {
50: '#7a69c9',
500: '#2b2fb0',
950: '#000000',
},
}SCSS
$custom: #2b2fb0; $custom-light: #7a69c9; $custom-dark: #000000;
JSON
{
"hex": "#2b2fb0",
"rgb": {
"r": 43,
"g": 47,
"b": 176
},
"hsl": {
"h": 238.195,
"s": 60.731,
"l": 42.941
},
"oklch": {
"l": 0.40233,
"c": 0.19778,
"h": 271.9
},
"luminance": 0.05681
}Semantic roles & 50–950 ramp
primary
#2B2FB0
secondary
#C6C371
accent
#DF44E4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82