#2B3A99#2B3A99
#2B3A99 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.155 H 270.7°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3A99 |
|---|---|
| RGB | rgb(43, 58, 153) |
| HSL | hsl(232, 56%, 38%) |
| HSV | hsv(232, 72%, 60%) |
| CMYK | cmyk(71.9%, 62.1%, 0%, 40%) |
| CIE-LAB | lab(29.00, 27.47, -53.73) |
| CIE-LCH | lch(29.00, 60.35, 297.08°) |
| OKLab | oklab(39.87% 0.0019 -0.1551) |
| OKLCH | oklch(39.87% 0.155 270.7) |
| XYZ | xyz(8.2571, 5.8388, 30.8227) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.75
Blueberry
#464196
ΔE00 4.33
Darkslateblue
#483D8B
ΔE00 5.52
Cobalt
#0047AB
ΔE00 5.94
Blue Blue
#2242C7
ΔE00 6.52
Cobalt (survey)
#1E488F
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3A99 #998A2B
analogous
#2B7199 #2B3A99 #532B99
triadic
#2B3A99 #992B3A #3A992B
tetradic
#2B3A99 #992B71 #998A2B #2B9953
square
#2B3A99 #992B71 #998A2B #2B9953
split-complementary
#2B3A99 #99532B #71992B
monochromatic
#101639 #1E2869 #2B3A99 #3A4DC8 #6978D5
Accessibility & contrast
On white
9.69
#2B3A99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2B3A99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3A99
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3A99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3A99 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#003F97
Tritanopia (blue-blind)
#005264
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b3a99; /* rgb */ color: rgb(43, 58, 153); /* oklch */ color: oklch(39.9% 0.155 270.7);
Tailwind
colors: {
custom: {
50: '#7470b8',
500: '#2b3a99',
950: '#000000',
},
}SCSS
$custom: #2b3a99; $custom-light: #7470b8; $custom-dark: #000000;
JSON
{
"hex": "#2b3a99",
"rgb": {
"r": 43,
"g": 58,
"b": 153
},
"hsl": {
"h": 231.818,
"s": 56.122,
"l": 38.431
},
"oklch": {
"l": 0.39873,
"c": 0.15508,
"h": 270.7
},
"luminance": 0.0584
}Semantic roles & 50–950 ramp
primary
#2B3A99
secondary
#BCB064
accent
#CB48DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80