#2B419E#2B419E
#2B419E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.153 H 268.7°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2B419E |
|---|---|
| RGB | rgb(43, 65, 158) |
| HSL | hsl(229, 57%, 39%) |
| HSV | hsv(229, 73%, 62%) |
| CMYK | cmyk(72.8%, 58.9%, 0%, 38%) |
| CIE-LAB | lab(31.26, 24.67, -53.09) |
| CIE-LCH | lch(31.26, 58.54, 294.92°) |
| OKLab | oklab(41.68% -0.0035 -0.1531) |
| OKLCH | oklch(41.68% 0.153 268.7) |
| XYZ | xyz(9.0560, 6.7619, 33.1690) |
| Luminance | 0.0676 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.53
Cobalt
#0047AB
ΔE00 3.98
Blueberry
#464196
ΔE00 4.58
Cobalt (survey)
#1E488F
ΔE00 4.81
Blue Blue
#2242C7
ΔE00 5.58
Darkslateblue
#483D8B
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B419E #9E882B
analogous
#2B7B9E #2B419E #4F2B9E
triadic
#2B419E #9E2B41 #419E2B
tetradic
#2B419E #9E2B7B #9E882B #2B9E4F
square
#2B419E #9E2B7B #9E882B #2B9E4F
split-complementary
#2B419E #9E4F2B #7B9E2B
monochromatic
#11193E #1E2D6E #2B419E #3C57CA #6C81D7
Accessibility & contrast
On white
8.93
#2B419E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2B419E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B419E
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B419E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B419E | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00449C
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2b419e; /* rgb */ color: rgb(43, 65, 158); /* oklch */ color: oklch(41.7% 0.153 268.7);
Tailwind
colors: {
custom: {
50: '#7475bb',
500: '#2b419e',
950: '#000000',
},
}SCSS
$custom: #2b419e; $custom-light: #7475bb; $custom-dark: #000000;
JSON
{
"hex": "#2b419e",
"rgb": {
"r": 43,
"g": 65,
"b": 158
},
"hsl": {
"h": 228.522,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.41679,
"c": 0.15314,
"h": 268.7
},
"luminance": 0.06763
}Semantic roles & 50–950 ramp
primary
#2B419E
secondary
#BEAD67
accent
#C347E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81