#2B349E#2B349E
#2B349E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.169 H 272.0°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2B349E |
|---|---|
| RGB | rgb(43, 52, 158) |
| HSL | hsl(235, 57%, 39%) |
| HSV | hsv(235, 73%, 62%) |
| CMYK | cmyk(72.8%, 67.1%, 0%, 38%) |
| CIE-LAB | lab(27.95, 33.24, -58.50) |
| CIE-LCH | lch(27.95, 67.29, 299.60°) |
| OKLab | oklab(39.24% 0.006 -0.1691) |
| OKLCH | oklch(39.24% 0.169 272) |
| XYZ | xyz(8.3937, 5.4374, 32.9483) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.25
Blueberry
#464196
ΔE00 5.20
Darkslateblue
#483D8B
ΔE00 6.06
Ocean Blue
#4F42B5
ΔE00 6.56
Blue Blue
#2242C7
ΔE00 6.62
Indigo Blue
#3A18B1
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B349E #9E952B
analogous
#2B6E9E #2B349E #5B2B9E
triadic
#2B349E #9E2B34 #349E2B
tetradic
#2B349E #9E2B6E #9E952B #2B9E5B
square
#2B349E #9E2B6E #9E952B #2B9E5B
split-complementary
#2B349E #9E5B2B #6E9E2B
monochromatic
#11143E #1E246E #2B349E #3C47CA #6C75D7
Accessibility & contrast
On white
10.06
#2B349E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#2B349E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B349E
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B349E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B349E | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0047A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2b349e; /* rgb */ color: rgb(43, 52, 158); /* oklch */ color: oklch(39.2% 0.169 272.0);
Tailwind
colors: {
custom: {
50: '#766bbc',
500: '#2b349e',
950: '#000000',
},
}SCSS
$custom: #2b349e; $custom-light: #766bbc; $custom-dark: #000000;
JSON
{
"hex": "#2b349e",
"rgb": {
"r": 43,
"g": 52,
"b": 158
},
"hsl": {
"h": 235.304,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.39235,
"c": 0.1692,
"h": 272
},
"luminance": 0.05438
}Semantic roles & 50–950 ramp
primary
#2B349E
secondary
#BEB767
accent
#D447E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81