#2B419F#2B419F
#2B419F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.155 H 268.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2B419F |
|---|---|
| RGB | rgb(43, 65, 159) |
| HSL | hsl(229, 57%, 40%) |
| HSV | hsv(229, 73%, 62%) |
| CMYK | cmyk(73%, 59.1%, 0%, 37.6%) |
| CIE-LAB | lab(31.34, 25.05, -53.57) |
| CIE-LCH | lch(31.34, 59.13, 295.06°) |
| OKLab | oklab(41.76% -0.0035 -0.1545) |
| OKLCH | oklch(41.76% 0.155 268.7) |
| XYZ | xyz(9.1424, 6.7964, 33.6242) |
| Luminance | 0.0680 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.43
Cobalt
#0047AB
ΔE00 3.96
Blueberry
#464196
ΔE00 4.59
Cobalt (survey)
#1E488F
ΔE00 4.91
Blue Blue
#2242C7
ΔE00 5.44
Darkslateblue
#483D8B
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B419F #9F892B
analogous
#2B7B9F #2B419F #4F2B9F
triadic
#2B419F #9F2B41 #419F2B
tetradic
#2B419F #9F2B7B #9F892B #2B9F4F
square
#2B419F #9F2B7B #9F892B #2B9F4F
split-complementary
#2B419F #9F4F2B #7B9F2B
monochromatic
#111A3F #1E2D6F #2B419F #3D58CA #6D81D7
Accessibility & contrast
On white
8.90
#2B419F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2B419F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B419F
8.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B419F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B419F | 1.00 | 8.90 | 2.36 | 8.90 |
| #FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2b419f; /* rgb */ color: rgb(43, 65, 159); /* oklch */ color: oklch(41.8% 0.155 268.7);
Tailwind
colors: {
custom: {
50: '#7575bc',
500: '#2b419f',
950: '#000000',
},
}SCSS
$custom: #2b419f; $custom-light: #7575bc; $custom-dark: #000000;
JSON
{
"hex": "#2b419f",
"rgb": {
"r": 43,
"g": 65,
"b": 159
},
"hsl": {
"h": 228.621,
"s": 57.426,
"l": 39.608
},
"oklch": {
"l": 0.41764,
"c": 0.15454,
"h": 268.7
},
"luminance": 0.06797
}Semantic roles & 50–950 ramp
primary
#2B419F
secondary
#BEAE67
accent
#C447E1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81