#2B328C#2B328C
#2B328C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.147 H 273.4°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2B328C |
|---|---|
| RGB | rgb(43, 50, 140) |
| HSL | hsl(236, 53%, 36%) |
| HSV | hsv(236, 69%, 55%) |
| CMYK | cmyk(69.3%, 64.3%, 0%, 45.1%) |
| CIE-LAB | lab(25.83, 27.98, -50.92) |
| CIE-LCH | lch(25.83, 58.10, 298.79°) |
| OKLab | oklab(37.18% 0.0087 -0.1469) |
| OKLCH | oklch(37.18% 0.147 273.4) |
| XYZ | xyz(6.8689, 4.6876, 25.3487) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.72
Darkslateblue
#483D8B
ΔE00 5.35
Blueberry
#464196
ΔE00 5.39
Royal
#0C1793
ΔE00 7.14
Midnight Blue
#191970
ΔE00 7.46
Ocean Blue
#4F42B5
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B328C #8C852B
analogous
#2B628C #2B328C #542B8C
triadic
#2B328C #8C2B32 #328C2B
tetradic
#2B328C #8C2B62 #8C852B #2B8C54
square
#2B328C #8C2B62 #8C852B #2B8C54
split-complementary
#2B328C #8C542B #628C2B
monochromatic
#0E112E #1D215D #2B328C #3943BB #626ACF
Accessibility & contrast
On white
10.84
#2B328C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2B328C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B328C
10.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B328C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B328C | 1.00 | 10.84 | 1.94 | 10.84 |
| #FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00428F
Deuteranopia (green-blind)
#00398A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2b328c; /* rgb */ color: rgb(43, 50, 140); /* oklch */ color: oklch(37.2% 0.147 273.4);
Tailwind
colors: {
custom: {
50: '#726aae',
500: '#2b328c',
950: '#000000',
},
}SCSS
$custom: #2b328c; $custom-light: #726aae; $custom-dark: #000000;
JSON
{
"hex": "#2b328c",
"rgb": {
"r": 43,
"g": 50,
"b": 140
},
"hsl": {
"h": 235.67,
"s": 53.005,
"l": 35.882
},
"oklch": {
"l": 0.37182,
"c": 0.14716,
"h": 273.4
},
"luminance": 0.04688
}Semantic roles & 50–950 ramp
primary
#2B328C
secondary
#B5AF5E
accent
#D24BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F