#2B3398#2B3398
#2B3398 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.162 H 272.5°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3398 |
|---|---|
| RGB | rgb(43, 51, 152) |
| HSL | hsl(236, 56%, 38%) |
| HSV | hsv(236, 72%, 60%) |
| CMYK | cmyk(71.7%, 66.4%, 0%, 40.4%) |
| CIE-LAB | lab(27.15, 31.71, -56.15) |
| CIE-LCH | lch(27.15, 64.48, 299.46°) |
| OKLab | oklab(38.49% 0.0072 -0.1622) |
| OKLCH | oklch(38.49% 0.162 272.5) |
| XYZ | xyz(7.8457, 5.1475, 30.2798) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.05
Blueberry
#464196
ΔE00 5.19
Darkslateblue
#483D8B
ΔE00 5.76
Royal
#0C1793
ΔE00 7.00
Ocean Blue
#4F42B5
ΔE00 7.18
Indigo Blue
#3A18B1
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3398 #98902B
analogous
#2B6998 #2B3398 #592B98
triadic
#2B3398 #982B33 #33982B
tetradic
#2B3398 #982B69 #98902B #2B9859
square
#2B3398 #982B69 #98902B #2B9859
split-complementary
#2B3398 #98592B #69982B
monochromatic
#101339 #1E2368 #2B3398 #3944C7 #6971D5
Accessibility & contrast
On white
10.35
#2B3398 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2B3398 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3398
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3398 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3398 | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003B96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2b3398; /* rgb */ color: rgb(43, 51, 152); /* oklch */ color: oklch(38.5% 0.162 272.5);
Tailwind
colors: {
custom: {
50: '#746bb7',
500: '#2b3398',
950: '#000000',
},
}SCSS
$custom: #2b3398; $custom-light: #746bb7; $custom-dark: #000000;
JSON
{
"hex": "#2b3398",
"rgb": {
"r": 43,
"g": 51,
"b": 152
},
"hsl": {
"h": 235.596,
"s": 55.897,
"l": 38.235
},
"oklch": {
"l": 0.38485,
"c": 0.16237,
"h": 272.5
},
"luminance": 0.05148
}Semantic roles & 50–950 ramp
primary
#2B3398
secondary
#BBB564
accent
#D449DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80