#2B347E#2B347E
#2B347E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.3% C 0.124 H 273.3°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2B347E |
|---|---|
| RGB | rgb(43, 52, 126) |
| HSL | hsl(233, 49%, 33%) |
| HSV | hsv(233, 66%, 49%) |
| CMYK | cmyk(65.9%, 58.7%, 0%, 50.6%) |
| CIE-LAB | lab(25.18, 21.44, -43.21) |
| CIE-LCH | lch(25.18, 48.24, 296.39°) |
| OKLab | oklab(36.34% 0.0071 -0.1242) |
| OKLCH | oklch(36.34% 0.124 273.3) |
| XYZ | xyz(5.9889, 4.4754, 20.2829) |
| Luminance | 0.0448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.41
Blueberry
#464196
ΔE00 5.96
Sapphire (survey)
#2138AB
ΔE00 6.83
Marine
#042E60
ΔE00 6.99
Marine Blue
#01386A
ΔE00 7.68
Midnight Blue
#191970
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B347E #7E752B
analogous
#2B5D7E #2B347E #4B2B7E
triadic
#2B347E #7E2B34 #347E2B
tetradic
#2B347E #7E2B5D #7E752B #2B7E4B
square
#2B347E #7E2B5D #7E752B #2B7E4B
split-complementary
#2B347E #7E4B2B #5D7E2B
monochromatic
#0C0E23 #1B2150 #2B347E #3B47AC #5C68C7
Accessibility & contrast
On white
11.08
#2B347E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2B347E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B347E
11.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B347E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B347E | 1.00 | 11.08 | 1.90 | 11.08 |
| #FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2b347e; /* rgb */ color: rgb(43, 52, 126); /* oklch */ color: oklch(36.3% 0.124 273.3);
Tailwind
colors: {
custom: {
50: '#6e6ba4',
500: '#2b347e',
950: '#000000',
},
}SCSS
$custom: #2b347e; $custom-light: #6e6ba4; $custom-dark: #000000;
JSON
{
"hex": "#2b347e",
"rgb": {
"r": 43,
"g": 52,
"b": 126
},
"hsl": {
"h": 233.494,
"s": 49.112,
"l": 33.137
},
"oklch": {
"l": 0.36342,
"c": 0.12443,
"h": 273.3
},
"luminance": 0.04476
}Semantic roles & 50–950 ramp
primary
#2B347E
secondary
#ADA458
accent
#CA4FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F