#2B3B99#2B3B99
#2B3B99 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.154 H 270.4°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3B99 |
|---|---|
| RGB | rgb(43, 59, 153) |
| HSL | hsl(231, 56%, 38%) |
| HSV | hsv(231, 72%, 60%) |
| CMYK | cmyk(71.9%, 61.4%, 0%, 40%) |
| CIE-LAB | lab(29.26, 26.80, -53.31) |
| CIE-LCH | lch(29.26, 59.67, 296.69°) |
| OKLab | oklab(40.07% 0.0012 -0.1538) |
| OKLCH | oklch(40.07% 0.154 270.4) |
| XYZ | xyz(8.3080, 5.9406, 30.8396) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.86
Blueberry
#464196
ΔE00 4.28
Darkslateblue
#483D8B
ΔE00 5.55
Cobalt
#0047AB
ΔE00 5.67
Cobalt (survey)
#1E488F
ΔE00 6.21
Blue Blue
#2242C7
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3B99 #99892B
analogous
#2B7299 #2B3B99 #522B99
triadic
#2B3B99 #992B3B #3B992B
tetradic
#2B3B99 #992B72 #99892B #2B9952
square
#2B3B99 #992B72 #99892B #2B9952
split-complementary
#2B3B99 #99522B #72992B
monochromatic
#101639 #1E2969 #2B3B99 #3A4EC8 #6979D5
Accessibility & contrast
On white
9.60
#2B3B99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2B3B99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3B99
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3B99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3B99 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#004097
Tritanopia (blue-blind)
#005364
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2b3b99; /* rgb */ color: rgb(43, 59, 153); /* oklch */ color: oklch(40.1% 0.154 270.4);
Tailwind
colors: {
custom: {
50: '#7470b8',
500: '#2b3b99',
950: '#000000',
},
}SCSS
$custom: #2b3b99; $custom-light: #7470b8; $custom-dark: #000000;
JSON
{
"hex": "#2b3b99",
"rgb": {
"r": 43,
"g": 59,
"b": 153
},
"hsl": {
"h": 231.273,
"s": 56.122,
"l": 38.431
},
"oklch": {
"l": 0.40066,
"c": 0.15381,
"h": 270.4
},
"luminance": 0.05941
}Semantic roles & 50–950 ramp
primary
#2B3B99
secondary
#BCAF64
accent
#C948DF
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#090711
muted
#7B7A80