#2B3AA4#2B3AA4
#2B3AA4 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.9% C 0.170 H 270.5°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3AA4 |
|---|---|
| RGB | rgb(43, 58, 164) |
| HSL | hsl(233, 58%, 41%) |
| HSV | hsv(233, 74%, 64%) |
| CMYK | cmyk(73.8%, 64.6%, 0%, 35.7%) |
| CIE-LAB | lab(29.96, 31.54, -58.84) |
| CIE-LCH | lch(29.96, 66.76, 298.19°) |
| OKLab | oklab(40.87% 0.0015 -0.17) |
| OKLCH | oklch(40.87% 0.17 270.5) |
| XYZ | xyz(9.2079, 6.2191, 35.8299) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.30
Blueberry
#464196
ΔE00 4.73
Blue Blue
#2242C7
ΔE00 5.09
Ocean Blue
#4F42B5
ΔE00 5.68
Cobalt
#0047AB
ΔE00 5.82
Darkslateblue
#483D8B
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3AA4 #A4952B
analogous
#2B76A4 #2B3AA4 #582BA4
triadic
#2B3AA4 #A42B3A #3AA42B
tetradic
#2B3AA4 #A42B76 #A4952B #2BA458
square
#2B3AA4 #A42B76 #A4952B #2BA458
split-complementary
#2B3AA4 #A4582B #76A42B
monochromatic
#121843 #1E2974 #2B3AA4 #3F51CD #707DD9
Accessibility & contrast
On white
9.36
#2B3AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2B3AA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3AA4
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3AA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3AA4 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CA7
Deuteranopia (green-blind)
#0041A2
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2b3aa4; /* rgb */ color: rgb(43, 58, 164); /* oklch */ color: oklch(40.9% 0.170 270.5);
Tailwind
colors: {
custom: {
50: '#7670c0',
500: '#2b3aa4',
950: '#000000',
},
}SCSS
$custom: #2b3aa4; $custom-light: #7670c0; $custom-dark: #000000;
JSON
{
"hex": "#2b3aa4",
"rgb": {
"r": 43,
"g": 58,
"b": 164
},
"hsl": {
"h": 232.562,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.40874,
"c": 0.17005,
"h": 270.5
},
"luminance": 0.0622
}Semantic roles & 50–950 ramp
primary
#2B3AA4
secondary
#C1B66A
accent
#CE46E2
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81