#2B41A2#2B41A2
#2B41A2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.159 H 268.8°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2B41A2 |
|---|---|
| RGB | rgb(43, 65, 162) |
| HSL | hsl(229, 58%, 40%) |
| HSV | hsv(229, 73%, 64%) |
| CMYK | cmyk(73.5%, 59.9%, 0%, 36.5%) |
| CIE-LAB | lab(31.58, 26.18, -54.98) |
| CIE-LCH | lch(31.58, 60.89, 295.46°) |
| OKLab | oklab(42.02% -0.0034 -0.1587) |
| OKLCH | oklch(42.02% 0.159 268.8) |
| XYZ | xyz(9.4059, 6.9018, 35.0119) |
| Luminance | 0.0690 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.15
Cobalt
#0047AB
ΔE00 3.92
Blueberry
#464196
ΔE00 4.66
Blue Blue
#2242C7
ΔE00 5.00
Cobalt (survey)
#1E488F
ΔE00 5.20
Ocean Blue
#4F42B5
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B41A2 #A28C2B
analogous
#2B7CA2 #2B41A2 #512BA2
triadic
#2B41A2 #A22B41 #41A22B
tetradic
#2B41A2 #A22B7C #A28C2B #2BA251
square
#2B41A2 #A22B7C #A28C2B #2BA251
split-complementary
#2B41A2 #A2512B #7CA22B
monochromatic
#111A41 #1E2E72 #2B41A2 #3E59CC #6F82D9
Accessibility & contrast
On white
8.82
#2B41A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2B41A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B41A2
8.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B41A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B41A2 | 1.00 | 8.82 | 2.38 | 8.82 |
| #FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2b41a2; /* rgb */ color: rgb(43, 65, 162); /* oklch */ color: oklch(42.0% 0.159 268.8);
Tailwind
colors: {
custom: {
50: '#7575be',
500: '#2b41a2',
950: '#000000',
},
}SCSS
$custom: #2b41a2; $custom-light: #7575be; $custom-dark: #000000;
JSON
{
"hex": "#2b41a2",
"rgb": {
"r": 43,
"g": 65,
"b": 162
},
"hsl": {
"h": 228.908,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.42022,
"c": 0.15869,
"h": 268.8
},
"luminance": 0.06903
}Semantic roles & 50–950 ramp
primary
#2B41A2
secondary
#C0B069
accent
#C547E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81