#2B3AA5#2B3AA5
#2B3AA5 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.171 H 270.5°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3AA5 |
|---|---|
| RGB | rgb(43, 58, 165) |
| HSL | hsl(233, 59%, 41%) |
| HSV | hsv(233, 74%, 65%) |
| CMYK | cmyk(73.9%, 64.8%, 0%, 35.3%) |
| CIE-LAB | lab(30.05, 31.91, -59.30) |
| CIE-LCH | lch(30.05, 67.34, 298.28°) |
| OKLab | oklab(40.97% 0.0015 -0.1714) |
| OKLCH | oklch(40.97% 0.171 270.5) |
| XYZ | xyz(9.2985, 6.2553, 36.3074) |
| Luminance | 0.0626 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.20
Blueberry
#464196
ΔE00 4.79
Blue Blue
#2242C7
ΔE00 4.97
Ocean Blue
#4F42B5
ΔE00 5.60
Cobalt
#0047AB
ΔE00 5.83
Darkslateblue
#483D8B
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3AA5 #A5962B
analogous
#2B77A5 #2B3AA5 #592BA5
triadic
#2B3AA5 #A52B3A #3AA52B
tetradic
#2B3AA5 #A52B77 #A5962B #2BA559
square
#2B3AA5 #A52B77 #A5962B #2BA559
split-complementary
#2B3AA5 #A5592B #77A52B
monochromatic
#121844 #1E2974 #2B3AA5 #4051CD #717DDA
Accessibility & contrast
On white
9.33
#2B3AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#2B3AA5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3AA5
9.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3AA5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3AA5 | 1.00 | 9.33 | 2.25 | 9.33 |
| #FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#0041A3
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2b3aa5; /* rgb */ color: rgb(43, 58, 165); /* oklch */ color: oklch(41.0% 0.171 270.5);
Tailwind
colors: {
custom: {
50: '#7770c1',
500: '#2b3aa5',
950: '#000000',
},
}SCSS
$custom: #2b3aa5; $custom-light: #7770c1; $custom-dark: #000000;
JSON
{
"hex": "#2b3aa5",
"rgb": {
"r": 43,
"g": 58,
"b": 165
},
"hsl": {
"h": 232.623,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.40967,
"c": 0.17139,
"h": 270.5
},
"luminance": 0.06256
}Semantic roles & 50–950 ramp
primary
#2B3AA5
secondary
#C1B66B
accent
#CF46E2
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81