#2B348A#2B348A
#2B348A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.142 H 272.9°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2B348A |
|---|---|
| RGB | rgb(43, 52, 138) |
| HSL | hsl(234, 52%, 35%) |
| HSV | hsv(234, 69%, 54%) |
| CMYK | cmyk(68.8%, 62.3%, 0%, 45.9%) |
| CIE-LAB | lab(26.17, 25.91, -49.12) |
| CIE-LCH | lch(26.17, 55.54, 297.81°) |
| OKLab | oklab(37.38% 0.0071 -0.1416) |
| OKLCH | oklch(37.38% 0.142 272.9) |
| XYZ | xyz(6.8102, 4.8039, 24.6082) |
| Luminance | 0.0481 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.90
Blueberry
#464196
ΔE00 5.15
Darkslateblue
#483D8B
ΔE00 5.15
Royal
#0C1793
ΔE00 7.88
Cobalt (survey)
#1E488F
ΔE00 7.89
Midnight Blue
#191970
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B348A #8A812B
analogous
#2B638A #2B348A #512B8A
triadic
#2B348A #8A2B34 #348A2B
tetradic
#2B348A #8A2B63 #8A812B #2B8A51
square
#2B348A #8A2B63 #8A812B #2B8A51
split-complementary
#2B348A #8A512B #638A2B
monochromatic
#0E112D #1C225B #2B348A #3A46B9 #616CCE
Accessibility & contrast
On white
10.71
#2B348A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2B348A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B348A
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B348A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B348A | 1.00 | 10.71 | 1.96 | 10.71 |
| #FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003A88
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b348a; /* rgb */ color: rgb(43, 52, 138); /* oklch */ color: oklch(37.4% 0.142 272.9);
Tailwind
colors: {
custom: {
50: '#716bad',
500: '#2b348a',
950: '#000000',
},
}SCSS
$custom: #2b348a; $custom-light: #716bad; $custom-dark: #000000;
JSON
{
"hex": "#2b348a",
"rgb": {
"r": 43,
"g": 52,
"b": 138
},
"hsl": {
"h": 234.316,
"s": 52.486,
"l": 35.49
},
"oklch": {
"l": 0.37382,
"c": 0.14177,
"h": 272.9
},
"luminance": 0.04805
}Semantic roles & 50–950 ramp
primary
#2B348A
secondary
#B4AC5D
accent
#CE4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F