#2B3096#2B3096
#2B3096 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.163 H 273.3°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3096 |
|---|---|
| RGB | rgb(43, 48, 150) |
| HSL | hsl(237, 55%, 38%) |
| HSV | hsv(237, 71%, 59%) |
| CMYK | cmyk(71.3%, 68%, 0%, 41.2%) |
| CIE-LAB | lab(26.24, 32.92, -56.41) |
| CIE-LCH | lch(26.24, 65.32, 300.27°) |
| OKLab | oklab(37.77% 0.0094 -0.163) |
| OKLCH | oklch(37.77% 0.163 273.3) |
| XYZ | xyz(7.5564, 4.8288, 29.3821) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.72
Blueberry
#464196
ΔE00 5.73
Darkslateblue
#483D8B
ΔE00 6.00
Royal
#0C1793
ΔE00 6.19
Indigo Blue
#3A18B1
ΔE00 6.91
Ocean Blue
#4F42B5
ΔE00 7.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3096 #96912B
analogous
#2B6696 #2B3096 #5B2B96
triadic
#2B3096 #962B30 #30962B
tetradic
#2B3096 #962B66 #96912B #2B965B
square
#2B3096 #962B66 #96912B #2B965B
split-complementary
#2B3096 #965B2B #66962B
monochromatic
#101237 #1D2166 #2B3096 #393FC6 #686DD4
Accessibility & contrast
On white
10.68
#2B3096 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2B3096 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3096
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3096 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3096 | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004B5F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b3096; /* rgb */ color: rgb(43, 48, 150); /* oklch */ color: oklch(37.8% 0.163 273.3);
Tailwind
colors: {
custom: {
50: '#7468b6',
500: '#2b3096',
950: '#000000',
},
}SCSS
$custom: #2b3096; $custom-light: #7468b6; $custom-dark: #000000;
JSON
{
"hex": "#2b3096",
"rgb": {
"r": 43,
"g": 48,
"b": 150
},
"hsl": {
"h": 237.196,
"s": 55.44,
"l": 37.843
},
"oklch": {
"l": 0.37766,
"c": 0.16327,
"h": 273.3
},
"luminance": 0.0483
}Semantic roles & 50–950 ramp
primary
#2B3096
secondary
#BAB663
accent
#D849DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80