#2B3498#2B3498
#2B3498 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.7% C 0.161 H 272.3°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3498 |
|---|---|
| RGB | rgb(43, 52, 152) |
| HSL | hsl(235, 56%, 38%) |
| HSV | hsv(235, 72%, 60%) |
| CMYK | cmyk(71.7%, 65.8%, 0%, 40.4%) |
| CIE-LAB | lab(27.40, 31.06, -55.75) |
| CIE-LCH | lch(27.40, 63.81, 299.12°) |
| OKLab | oklab(38.66% 0.0064 -0.161) |
| OKLCH | oklch(38.66% 0.161 272.3) |
| XYZ | xyz(7.8898, 5.2358, 30.2945) |
| Luminance | 0.0524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.93
Blueberry
#464196
ΔE00 5.02
Darkslateblue
#483D8B
ΔE00 5.66
Ocean Blue
#4F42B5
ΔE00 7.09
Royal
#0C1793
ΔE00 7.29
Blue Blue
#2242C7
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3498 #988F2B
analogous
#2B6A98 #2B3498 #582B98
triadic
#2B3498 #982B34 #34982B
tetradic
#2B3498 #982B6A #988F2B #2B9858
square
#2B3498 #982B6A #988F2B #2B9858
split-complementary
#2B3498 #98582B #6A982B
monochromatic
#101339 #1E2468 #2B3498 #3945C7 #6972D5
Accessibility & contrast
On white
10.26
#2B3498 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2B3498 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3498
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3498 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3498 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#003C96
Tritanopia (blue-blind)
#004E61
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2b3498; /* rgb */ color: rgb(43, 52, 152); /* oklch */ color: oklch(38.7% 0.161 272.3);
Tailwind
colors: {
custom: {
50: '#746bb7',
500: '#2b3498',
950: '#000000',
},
}SCSS
$custom: #2b3498; $custom-light: #746bb7; $custom-dark: #000000;
JSON
{
"hex": "#2b3498",
"rgb": {
"r": 43,
"g": 52,
"b": 152
},
"hsl": {
"h": 235.046,
"s": 55.897,
"l": 38.235
},
"oklch": {
"l": 0.38664,
"c": 0.16115,
"h": 272.3
},
"luminance": 0.05237
}Semantic roles & 50–950 ramp
primary
#2B3498
secondary
#BBB464
accent
#D349DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80