#2B3B95#2B3B95
#2B3B95 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.7% C 0.148 H 270.4°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3B95 |
|---|---|
| RGB | rgb(43, 59, 149) |
| HSL | hsl(231, 55%, 38%) |
| HSV | hsv(231, 71%, 58%) |
| CMYK | cmyk(71.1%, 60.4%, 0%, 41.6%) |
| CIE-LAB | lab(28.93, 25.31, -51.40) |
| CIE-LCH | lch(28.93, 57.30, 296.21°) |
| OKLab | oklab(39.72% 0.0012 -0.1482) |
| OKLCH | oklch(39.72% 0.148 270.4) |
| XYZ | xyz(7.9832, 5.8107, 29.1288) |
| Luminance | 0.0581 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.46
Blueberry
#464196
ΔE00 4.29
Darkslateblue
#483D8B
ΔE00 5.39
Cobalt
#0047AB
ΔE00 5.83
Cobalt (survey)
#1E488F
ΔE00 5.98
Darkish Blue
#014182
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3B95 #95852B
analogous
#2B7095 #2B3B95 #502B95
triadic
#2B3B95 #952B3B #3B952B
tetradic
#2B3B95 #952B70 #95852B #2B9550
square
#2B3B95 #952B70 #95852B #2B9550
split-complementary
#2B3B95 #95502B #70952B
monochromatic
#101536 #1D2866 #2B3B95 #394EC4 #6778D3
Accessibility & contrast
On white
9.71
#2B3B95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2B3B95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3B95
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3B95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3B95 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#003F93
Tritanopia (blue-blind)
#005162
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b3b95; /* rgb */ color: rgb(43, 59, 149); /* oklch */ color: oklch(39.7% 0.148 270.4);
Tailwind
colors: {
custom: {
50: '#7370b5',
500: '#2b3b95',
950: '#000000',
},
}SCSS
$custom: #2b3b95; $custom-light: #7370b5; $custom-dark: #000000;
JSON
{
"hex": "#2b3b95",
"rgb": {
"r": 43,
"g": 59,
"b": 149
},
"hsl": {
"h": 230.943,
"s": 55.208,
"l": 37.647
},
"oklch": {
"l": 0.39715,
"c": 0.14822,
"h": 270.4
},
"luminance": 0.05811
}Semantic roles & 50–950 ramp
primary
#2B3B95
secondary
#BAAC62
accent
#C849DF
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80