#2B3A9E#2B3A9E
#2B3A9E is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.3% C 0.162 H 270.6°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3A9E |
|---|---|
| RGB | rgb(43, 58, 158) |
| HSL | hsl(232, 57%, 39%) |
| HSV | hsv(232, 73%, 62%) |
| CMYK | cmyk(72.8%, 63.3%, 0%, 38%) |
| CIE-LAB | lab(29.43, 29.33, -56.07) |
| CIE-LCH | lch(29.43, 63.28, 297.61°) |
| OKLab | oklab(40.32% 0.0018 -0.1619) |
| OKLCH | oklch(40.32% 0.162 270.6) |
| XYZ | xyz(8.6788, 6.0074, 33.0433) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.04
Blueberry
#464196
ΔE00 4.45
Darkslateblue
#483D8B
ΔE00 5.81
Cobalt
#0047AB
ΔE00 5.83
Blue Blue
#2242C7
ΔE00 5.85
Ocean Blue
#4F42B5
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3A9E #9E8F2B
analogous
#2B749E #2B3A9E #562B9E
triadic
#2B3A9E #9E2B3A #3A9E2B
tetradic
#2B3A9E #9E2B74 #9E8F2B #2B9E56
square
#2B3A9E #9E2B74 #9E8F2B #2B9E56
split-complementary
#2B3A9E #9E562B #749E2B
monochromatic
#11173E #1E286E #2B3A9E #3C4FCA #6C7AD7
Accessibility & contrast
On white
9.54
#2B3A9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2B3A9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3A9E
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3A9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3A9E | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#005466
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2b3a9e; /* rgb */ color: rgb(43, 58, 158); /* oklch */ color: oklch(40.3% 0.162 270.6);
Tailwind
colors: {
custom: {
50: '#7570bc',
500: '#2b3a9e',
950: '#000000',
},
}SCSS
$custom: #2b3a9e; $custom-light: #7570bc; $custom-dark: #000000;
JSON
{
"hex": "#2b3a9e",
"rgb": {
"r": 43,
"g": 58,
"b": 158
},
"hsl": {
"h": 232.174,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.40323,
"c": 0.16194,
"h": 270.6
},
"luminance": 0.06008
}Semantic roles & 50–950 ramp
primary
#2B3A9E
secondary
#BEB367
accent
#CC47E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81