#2B41AA#2B41AA
#2B41AA is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.7% C 0.170 H 268.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2B41AA |
|---|---|
| RGB | rgb(43, 65, 170) |
| HSL | hsl(230, 60%, 42%) |
| HSV | hsv(230, 75%, 67%) |
| CMYK | cmyk(74.7%, 61.8%, 0%, 33.3%) |
| CIE-LAB | lab(32.25, 29.17, -58.70) |
| CIE-LCH | lch(32.25, 65.55, 296.43°) |
| OKLab | oklab(42.72% -0.0034 -0.1696) |
| OKLCH | oklch(42.72% 0.17 268.8) |
| XYZ | xyz(10.1398, 7.1954, 38.8769) |
| Luminance | 0.0720 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.68
Blue Blue
#2242C7
ΔE00 3.84
Cobalt
#0047AB
ΔE00 4.05
Blueberry
#464196
ΔE00 5.03
Ocean Blue
#4F42B5
ΔE00 5.41
Cobalt (survey)
#1E488F
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B41AA #AA942B
analogous
#2B81AA #2B41AA #552BAA
triadic
#2B41AA #AA2B41 #41AA2B
tetradic
#2B41AA #AA2B81 #AA942B #2BAA55
square
#2B41AA #AA2B81 #AA942B #2BAA55
split-complementary
#2B41AA #AA552B #81AA2B
monochromatic
#121C48 #1F2E79 #2B41AA #435BCF #7486DC
Accessibility & contrast
On white
8.61
#2B41AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#2B41AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B41AA
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B41AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B41AA | 1.00 | 8.61 | 2.44 | 8.61 |
| #FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#0046A8
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #2b41aa; /* rgb */ color: rgb(43, 65, 170); /* oklch */ color: oklch(42.7% 0.170 268.8);
Tailwind
colors: {
custom: {
50: '#7775c4',
500: '#2b41aa',
950: '#000000',
},
}SCSS
$custom: #2b41aa; $custom-light: #7775c4; $custom-dark: #000000;
JSON
{
"hex": "#2b41aa",
"rgb": {
"r": 43,
"g": 65,
"b": 170
},
"hsl": {
"h": 229.606,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.42723,
"c": 0.1696,
"h": 268.8
},
"luminance": 0.07196
}Semantic roles & 50–950 ramp
primary
#2B41AA
secondary
#C3B46E
accent
#C745E3
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82