#2B41B1#2B41B1
#2B41B1 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.4% C 0.179 H 268.9°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #2B41B1 |
|---|---|
| RGB | rgb(43, 65, 177) |
| HSL | hsl(230, 61%, 43%) |
| HSV | hsv(230, 76%, 69%) |
| CMYK | cmyk(75.7%, 63.3%, 0%, 30.6%) |
| CIE-LAB | lab(32.85, 31.77, -61.89) |
| CIE-LCH | lch(32.85, 69.57, 297.17°) |
| OKLab | oklab(43.35% -0.0036 -0.1789) |
| OKLCH | oklch(43.35% 0.179 268.9) |
| XYZ | xyz(10.8196, 7.4673, 42.4576) |
| Luminance | 0.0747 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.70
Blue Blue
#2242C7
ΔE00 2.87
Cobalt
#0047AB
ΔE00 4.40
Ocean Blue
#4F42B5
ΔE00 4.93
Blueberry
#464196
ΔE00 5.53
Blue (survey)
#0343DF
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B41B1 #B19B2B
analogous
#2B84B1 #2B41B1 #582BB1
triadic
#2B41B1 #B12B41 #41B12B
tetradic
#2B41B1 #B12B84 #B19B2B #2BB158
square
#2B41B1 #B12B84 #B19B2B #2BB158
split-complementary
#2B41B1 #B1582B #84B12B
monochromatic
#131D4F #1F2F80 #2B41B1 #475ED2 #7889DE
Accessibility & contrast
On white
8.42
#2B41B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#2B41B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B41B1
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B41B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B41B1 | 1.00 | 8.42 | 2.49 | 8.42 |
| #FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#0047AF
Tritanopia (blue-blind)
#005E73
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2b41b1; /* rgb */ color: rgb(43, 65, 177); /* oklch */ color: oklch(43.4% 0.179 268.9);
Tailwind
colors: {
custom: {
50: '#7975c9',
500: '#2b41b1',
950: '#000000',
},
}SCSS
$custom: #2b41b1; $custom-light: #7975c9; $custom-dark: #000000;
JSON
{
"hex": "#2b41b1",
"rgb": {
"r": 43,
"g": 65,
"b": 177
},
"hsl": {
"h": 230.149,
"s": 60.909,
"l": 43.137
},
"oklch": {
"l": 0.43353,
"c": 0.17897,
"h": 268.9
},
"luminance": 0.07469
}Semantic roles & 50–950 ramp
primary
#2B41B1
secondary
#C6B872
accent
#CA44E4
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82