#2B3C9E#2B3C9E
#2B3C9E is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.7% C 0.159 H 270.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3C9E |
|---|---|
| RGB | rgb(43, 60, 158) |
| HSL | hsl(231, 57%, 39%) |
| HSV | hsv(231, 73%, 62%) |
| CMYK | cmyk(72.8%, 62%, 0%, 38%) |
| CIE-LAB | lab(29.94, 28.01, -55.23) |
| CIE-LCH | lch(29.94, 61.93, 296.89°) |
| OKLab | oklab(40.7% 0.0003 -0.1595) |
| OKLCH | oklch(40.7% 0.159 270.1) |
| XYZ | xyz(8.7816, 6.2130, 33.0776) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.33
Blueberry
#464196
ΔE00 4.35
Cobalt
#0047AB
ΔE00 5.28
Blue Blue
#2242C7
ΔE00 5.69
Darkslateblue
#483D8B
ΔE00 5.87
Ocean Blue
#4F42B5
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3C9E #9E8D2B
analogous
#2B769E #2B3C9E #532B9E
triadic
#2B3C9E #9E2B3C #3C9E2B
tetradic
#2B3C9E #9E2B76 #9E8D2B #2B9E53
square
#2B3C9E #9E2B76 #9E8D2B #2B9E53
split-complementary
#2B3C9E #9E532B #769E2B
monochromatic
#11173E #1E2A6E #2B3C9E #3C51CA #6C7CD7
Accessibility & contrast
On white
9.36
#2B3C9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2B3C9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3C9E
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3C9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3C9E | 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)
#004CA1
Deuteranopia (green-blind)
#00419C
Tritanopia (blue-blind)
#005567
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2b3c9e; /* rgb */ color: rgb(43, 60, 158); /* oklch */ color: oklch(40.7% 0.159 270.1);
Tailwind
colors: {
custom: {
50: '#7571bb',
500: '#2b3c9e',
950: '#000000',
},
}SCSS
$custom: #2b3c9e; $custom-light: #7571bb; $custom-dark: #000000;
JSON
{
"hex": "#2b3c9e",
"rgb": {
"r": 43,
"g": 60,
"b": 158
},
"hsl": {
"h": 231.13,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.40702,
"c": 0.15946,
"h": 270.1
},
"luminance": 0.06214
}Semantic roles & 50–950 ramp
primary
#2B3C9E
secondary
#BEB167
accent
#CA47E0
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0712
muted
#7C7A81