#2B348B#2B348B
#2B348B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.5% C 0.143 H 272.8°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2B348B |
|---|---|
| RGB | rgb(43, 52, 139) |
| HSL | hsl(234, 53%, 36%) |
| HSV | hsv(234, 69%, 55%) |
| CMYK | cmyk(69.1%, 62.6%, 0%, 45.5%) |
| CIE-LAB | lab(26.25, 26.28, -49.60) |
| CIE-LCH | lch(26.25, 56.13, 297.92°) |
| OKLab | oklab(37.47% 0.0071 -0.143) |
| OKLCH | oklch(37.47% 0.143 272.8) |
| XYZ | xyz(6.8829, 4.8330, 24.9912) |
| Luminance | 0.0483 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.75
Blueberry
#464196
ΔE00 5.11
Darkslateblue
#483D8B
ΔE00 5.16
Royal
#0C1793
ΔE00 7.81
Cobalt (survey)
#1E488F
ΔE00 7.90
Midnight Blue
#191970
ΔE00 7.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B348B #8B822B
analogous
#2B648B #2B348B #522B8B
triadic
#2B348B #8B2B34 #348B2B
tetradic
#2B348B #8B2B64 #8B822B #2B8B52
square
#2B348B #8B2B64 #8B822B #2B8B52
split-complementary
#2B348B #8B522B #648B2B
monochromatic
#0E112E #1D235C #2B348B #3945BA #626CCE
Accessibility & contrast
On white
10.68
#2B348B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2B348B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B348B
10.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B348B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B348B | 1.00 | 10.68 | 1.97 | 10.68 |
| #FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00438E
Deuteranopia (green-blind)
#003A89
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b348b; /* rgb */ color: rgb(43, 52, 139); /* oklch */ color: oklch(37.5% 0.143 272.8);
Tailwind
colors: {
custom: {
50: '#716bae',
500: '#2b348b',
950: '#000000',
},
}SCSS
$custom: #2b348b; $custom-light: #716bae; $custom-dark: #000000;
JSON
{
"hex": "#2b348b",
"rgb": {
"r": 43,
"g": 52,
"b": 139
},
"hsl": {
"h": 234.375,
"s": 52.747,
"l": 35.686
},
"oklch": {
"l": 0.37471,
"c": 0.14319,
"h": 272.8
},
"luminance": 0.04834
}Semantic roles & 50–950 ramp
primary
#2B348B
secondary
#B5AC5D
accent
#CF4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F