#2B3186#2B3186
#2B3186 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.140 H 274.0°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2B3186 |
|---|---|
| RGB | rgb(43, 49, 134) |
| HSL | hsl(236, 51%, 35%) |
| HSV | hsv(236, 68%, 53%) |
| CMYK | cmyk(67.9%, 63.4%, 0%, 47.5%) |
| CIE-LAB | lab(25.05, 26.45, -48.46) |
| CIE-LCH | lch(25.05, 55.20, 298.62°) |
| OKLab | oklab(36.45% 0.0098 -0.1397) |
| OKLCH | oklch(36.45% 0.14 274) |
| XYZ | xyz(6.3962, 4.4309, 23.0678) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.39
Sapphire (survey)
#2138AB
ΔE00 5.66
Blueberry
#464196
ΔE00 5.77
Midnight Blue
#191970
ΔE00 6.92
Royal
#0C1793
ΔE00 7.28
Marine
#042E60
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B3186 #86802B
analogous
#2B5F86 #2B3186 #532B86
triadic
#2B3186 #862B31 #31862B
tetradic
#2B3186 #862B5F #86802B #2B8653
square
#2B3186 #862B5F #86802B #2B8653
split-complementary
#2B3186 #86532B #5F862B
monochromatic
#0D0F29 #1C2058 #2B3186 #3A42B4 #6067CC
Accessibility & contrast
On white
11.13
#2B3186 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2B3186 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B3186
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B3186 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B3186 | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004089
Deuteranopia (green-blind)
#003784
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2b3186; /* rgb */ color: rgb(43, 49, 134); /* oklch */ color: oklch(36.4% 0.140 274.0);
Tailwind
colors: {
custom: {
50: '#7069aa',
500: '#2b3186',
950: '#000000',
},
}SCSS
$custom: #2b3186; $custom-light: #7069aa; $custom-dark: #000000;
JSON
{
"hex": "#2b3186",
"rgb": {
"r": 43,
"g": 49,
"b": 134
},
"hsl": {
"h": 236.044,
"s": 51.412,
"l": 34.706
},
"oklch": {
"l": 0.36448,
"c": 0.14002,
"h": 274
},
"luminance": 0.04431
}Semantic roles & 50–950 ramp
primary
#2B3186
secondary
#B2AC5B
accent
#D24DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F