#2B3AA1#2B3AA1
#2B3AA1 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.6% C 0.166 H 270.6°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3AA1 |
|---|---|
| RGB | rgb(43, 58, 161) |
| HSL | hsl(232, 58%, 40%) |
| HSV | hsv(232, 73%, 63%) |
| CMYK | cmyk(73.3%, 64%, 0%, 36.9%) |
| CIE-LAB | lab(29.69, 30.44, -57.46) |
| CIE-LCH | lch(29.69, 65.02, 297.91°) |
| OKLab | oklab(40.6% 0.0017 -0.166) |
| OKLCH | oklch(40.6% 0.166 270.6) |
| XYZ | xyz(8.9401, 6.1120, 34.4199) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.64
Blueberry
#464196
ΔE00 4.57
Blue Blue
#2242C7
ΔE00 5.46
Cobalt
#0047AB
ΔE00 5.81
Ocean Blue
#4F42B5
ΔE00 5.94
Darkslateblue
#483D8B
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3AA1 #A1922B
analogous
#2B75A1 #2B3AA1 #572BA1
triadic
#2B3AA1 #A12B3A #3AA12B
tetradic
#2B3AA1 #A12B75 #A1922B #2BA157
square
#2B3AA1 #A12B75 #A1922B #2BA157
split-complementary
#2B3AA1 #A1572B #75A12B
monochromatic
#111740 #1E2971 #2B3AA1 #3E50CB #6E7CD8
Accessibility & contrast
On white
9.45
#2B3AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#2B3AA1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3AA1
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3AA1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3AA1 | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA4
Deuteranopia (green-blind)
#00419F
Tritanopia (blue-blind)
#005568
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2b3aa1; /* rgb */ color: rgb(43, 58, 161); /* oklch */ color: oklch(40.6% 0.166 270.6);
Tailwind
colors: {
custom: {
50: '#7670be',
500: '#2b3aa1',
950: '#000000',
},
}SCSS
$custom: #2b3aa1; $custom-light: #7670be; $custom-dark: #000000;
JSON
{
"hex": "#2b3aa1",
"rgb": {
"r": 43,
"g": 58,
"b": 161
},
"hsl": {
"h": 232.373,
"s": 57.843,
"l": 40
},
"oklch": {
"l": 0.40597,
"c": 0.16602,
"h": 270.6
},
"luminance": 0.06113
}Semantic roles & 50–950 ramp
primary
#2B3AA1
secondary
#BFB469
accent
#CD47E1
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81