#2B41A1#2B41A1
#2B41A1 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.157 H 268.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2B41A1 |
|---|---|
| RGB | rgb(43, 65, 161) |
| HSL | hsl(229, 58%, 40%) |
| HSV | hsv(229, 73%, 63%) |
| CMYK | cmyk(73.3%, 59.6%, 0%, 36.9%) |
| CIE-LAB | lab(31.50, 25.80, -54.51) |
| CIE-LCH | lch(31.50, 60.31, 295.33°) |
| OKLab | oklab(41.94% -0.0035 -0.1573) |
| OKLCH | oklch(41.94% 0.157 268.7) |
| XYZ | xyz(9.3174, 6.8664, 34.5456) |
| Luminance | 0.0687 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.23
Cobalt
#0047AB
ΔE00 3.93
Blueberry
#464196
ΔE00 4.63
Cobalt (survey)
#1E488F
ΔE00 5.10
Blue Blue
#2242C7
ΔE00 5.14
Ocean Blue
#4F42B5
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B41A1 #A18B2B
analogous
#2B7CA1 #2B41A1 #502BA1
triadic
#2B41A1 #A12B41 #41A12B
tetradic
#2B41A1 #A12B7C #A18B2B #2BA150
square
#2B41A1 #A12B7C #A18B2B #2BA150
split-complementary
#2B41A1 #A1502B #7CA12B
monochromatic
#111A40 #1E2D71 #2B41A1 #3E58CB #6E82D8
Accessibility & contrast
On white
8.85
#2B41A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#2B41A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B41A1
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B41A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B41A1 | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2b41a1; /* rgb */ color: rgb(43, 65, 161); /* oklch */ color: oklch(41.9% 0.157 268.7);
Tailwind
colors: {
custom: {
50: '#7575be',
500: '#2b41a1',
950: '#000000',
},
}SCSS
$custom: #2b41a1; $custom-light: #7575be; $custom-dark: #000000;
JSON
{
"hex": "#2b41a1",
"rgb": {
"r": 43,
"g": 65,
"b": 161
},
"hsl": {
"h": 228.814,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.41936,
"c": 0.15731,
"h": 268.7
},
"luminance": 0.06867
}Semantic roles & 50–950 ramp
primary
#2B41A1
secondary
#BFAF69
accent
#C447E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81