#2B3B97#2B3B97
#2B3B97 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 39.9% C 0.151 H 270.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3B97 |
|---|---|
| RGB | rgb(43, 59, 151) |
| HSL | hsl(231, 56%, 38%) |
| HSV | hsv(231, 72%, 59%) |
| CMYK | cmyk(71.5%, 60.9%, 0%, 40.8%) |
| CIE-LAB | lab(29.10, 26.06, -52.36) |
| CIE-LCH | lch(29.10, 58.48, 296.46°) |
| OKLab | oklab(39.89% 0.0012 -0.151) |
| OKLCH | oklch(39.89% 0.151 270.4) |
| XYZ | xyz(8.1442, 5.8751, 29.9770) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.16
Blueberry
#464196
ΔE00 4.27
Darkslateblue
#483D8B
ΔE00 5.47
Cobalt
#0047AB
ΔE00 5.74
Cobalt (survey)
#1E488F
ΔE00 6.09
Blue Blue
#2242C7
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3B97 #97872B
analogous
#2B7197 #2B3B97 #512B97
triadic
#2B3B97 #972B3B #3B972B
tetradic
#2B3B97 #972B71 #97872B #2B9751
square
#2B3B97 #972B71 #97872B #2B9751
split-complementary
#2B3B97 #97512B #71972B
monochromatic
#101638 #1D2867 #2B3B97 #394EC7 #6878D4
Accessibility & contrast
On white
9.65
#2B3B97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2B3B97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3B97
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3B97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3B97 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005263
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2b3b97; /* rgb */ color: rgb(43, 59, 151); /* oklch */ color: oklch(39.9% 0.151 270.4);
Tailwind
colors: {
custom: {
50: '#7370b6',
500: '#2b3b97',
950: '#000000',
},
}SCSS
$custom: #2b3b97; $custom-light: #7370b6; $custom-dark: #000000;
JSON
{
"hex": "#2b3b97",
"rgb": {
"r": 43,
"g": 59,
"b": 151
},
"hsl": {
"h": 231.111,
"s": 55.67,
"l": 38.039
},
"oklch": {
"l": 0.3989,
"c": 0.15102,
"h": 270.4
},
"luminance": 0.05876
}Semantic roles & 50–950 ramp
primary
#2B3B97
secondary
#BBAE63
accent
#C949DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80