#2B3198#2B3198
#2B3198 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.165 H 273.0°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3198 |
|---|---|
| RGB | rgb(43, 49, 152) |
| HSL | hsl(237, 56%, 38%) |
| HSV | hsv(237, 72%, 60%) |
| CMYK | cmyk(71.7%, 67.8%, 0%, 40.4%) |
| CIE-LAB | lab(26.67, 33.00, -56.94) |
| CIE-LCH | lch(26.67, 65.81, 300.09°) |
| OKLab | oklab(38.13% 0.0085 -0.1645) |
| OKLCH | oklch(38.13% 0.165 273) |
| XYZ | xyz(7.7602, 4.9765, 30.2513) |
| Luminance | 0.0498 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.35
Blueberry
#464196
ΔE00 5.56
Darkslateblue
#483D8B
ΔE00 5.98
Royal
#0C1793
ΔE00 6.44
Indigo Blue
#3A18B1
ΔE00 6.94
Ocean Blue
#4F42B5
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3198 #98922B
analogous
#2B6798 #2B3198 #5B2B98
triadic
#2B3198 #982B31 #31982B
tetradic
#2B3198 #982B67 #98922B #2B985B
square
#2B3198 #982B67 #98922B #2B985B
split-complementary
#2B3198 #985B2B #67982B
monochromatic
#101239 #1E2268 #2B3198 #3941C7 #696FD5
Accessibility & contrast
On white
10.52
#2B3198 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2B3198 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3198
10.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3198 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3198 | 1.00 | 10.52 | 2.00 | 10.52 |
| #FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2b3198; /* rgb */ color: rgb(43, 49, 152); /* oklch */ color: oklch(38.1% 0.165 273.0);
Tailwind
colors: {
custom: {
50: '#7469b7',
500: '#2b3198',
950: '#000000',
},
}SCSS
$custom: #2b3198; $custom-light: #7469b7; $custom-dark: #000000;
JSON
{
"hex": "#2b3198",
"rgb": {
"r": 43,
"g": 49,
"b": 152
},
"hsl": {
"h": 236.697,
"s": 55.897,
"l": 38.235
},
"oklch": {
"l": 0.38133,
"c": 0.16475,
"h": 273
},
"luminance": 0.04977
}Semantic roles & 50–950 ramp
primary
#2B3198
secondary
#BBB664
accent
#D749DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80