#2B3395#2B3395
#2B3395 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.158 H 272.7°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3395 |
|---|---|
| RGB | rgb(43, 51, 149) |
| HSL | hsl(235, 55%, 38%) |
| HSV | hsv(235, 71%, 58%) |
| CMYK | cmyk(71.1%, 65.8%, 0%, 41.6%) |
| CIE-LAB | lab(26.88, 30.62, -54.76) |
| CIE-LCH | lch(26.88, 62.73, 299.21°) |
| OKLab | oklab(38.2% 0.0074 -0.1581) |
| OKLCH | oklch(38.2% 0.158 272.7) |
| XYZ | xyz(7.6031, 5.0504, 29.0021) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.42
Blueberry
#464196
ΔE00 5.14
Darkslateblue
#483D8B
ΔE00 5.59
Royal
#0C1793
ΔE00 7.06
Ocean Blue
#4F42B5
ΔE00 7.46
Indigo Blue
#3A18B1
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3395 #958D2B
analogous
#2B6895 #2B3395 #582B95
triadic
#2B3395 #952B33 #33952B
tetradic
#2B3395 #952B68 #958D2B #2B9558
square
#2B3395 #952B68 #958D2B #2B9558
split-complementary
#2B3395 #95582B #68952B
monochromatic
#101236 #1D2366 #2B3395 #3943C4 #676FD3
Accessibility & contrast
On white
10.45
#2B3395 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2B3395 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3395
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3395 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3395 | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003B93
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2b3395; /* rgb */ color: rgb(43, 51, 149); /* oklch */ color: oklch(38.2% 0.158 272.7);
Tailwind
colors: {
custom: {
50: '#746bb5',
500: '#2b3395',
950: '#000000',
},
}SCSS
$custom: #2b3395; $custom-light: #746bb5; $custom-dark: #000000;
JSON
{
"hex": "#2b3395",
"rgb": {
"r": 43,
"g": 51,
"b": 149
},
"hsl": {
"h": 235.472,
"s": 55.208,
"l": 37.647
},
"oklch": {
"l": 0.38202,
"c": 0.1583,
"h": 272.7
},
"luminance": 0.05051
}Semantic roles & 50–950 ramp
primary
#2B3395
secondary
#BAB362
accent
#D349DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80