#2B41A6#2B41A6
#2B41A6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.164 H 268.8°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #2B41A6 |
|---|---|
| RGB | rgb(43, 65, 166) |
| HSL | hsl(229, 59%, 41%) |
| HSV | hsv(229, 74%, 65%) |
| CMYK | cmyk(74.1%, 60.8%, 0%, 34.9%) |
| CIE-LAB | lab(31.91, 27.68, -56.85) |
| CIE-LCH | lch(31.91, 63.23, 295.96°) |
| OKLab | oklab(42.37% -0.0034 -0.1641) |
| OKLCH | oklch(42.37% 0.164 268.8) |
| XYZ | xyz(9.7671, 7.0463, 36.9143) |
| Luminance | 0.0705 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.86
Cobalt
#0047AB
ΔE00 3.95
Blue Blue
#2242C7
ΔE00 4.42
Blueberry
#464196
ΔE00 4.82
Cobalt (survey)
#1E488F
ΔE00 5.62
Ocean Blue
#4F42B5
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B41A6 #A6902B
analogous
#2B7EA6 #2B41A6 #522BA6
triadic
#2B41A6 #A62B41 #41A62B
tetradic
#2B41A6 #A62B7E #A6902B #2BA652
square
#2B41A6 #A62B7E #A6902B #2BA652
split-complementary
#2B41A6 #A6522B #7EA62B
monochromatic
#121B45 #1E2E75 #2B41A6 #415ACE #7184DA
Accessibility & contrast
On white
8.72
#2B41A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2B41A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B41A6
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B41A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B41A6 | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2b41a6; /* rgb */ color: rgb(43, 65, 166); /* oklch */ color: oklch(42.4% 0.164 268.8);
Tailwind
colors: {
custom: {
50: '#7675c1',
500: '#2b41a6',
950: '#000000',
},
}SCSS
$custom: #2b41a6; $custom-light: #7675c1; $custom-dark: #000000;
JSON
{
"hex": "#2b41a6",
"rgb": {
"r": 43,
"g": 65,
"b": 166
},
"hsl": {
"h": 229.268,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.4237,
"c": 0.16418,
"h": 268.8
},
"luminance": 0.07047
}Semantic roles & 50–950 ramp
primary
#2B41A6
secondary
#C1B26B
accent
#C646E2
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81