#2B378E#2B378E
#2B378E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.144 H 271.8°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #2B378E |
|---|---|
| RGB | rgb(43, 55, 142) |
| HSL | hsl(233, 54%, 36%) |
| HSV | hsv(233, 70%, 56%) |
| CMYK | cmyk(69.7%, 61.3%, 0%, 44.3%) |
| CIE-LAB | lab(27.29, 25.38, -49.77) |
| CIE-LCH | lch(27.29, 55.86, 297.02°) |
| OKLab | oklab(38.32% 0.0045 -0.1435) |
| OKLCH | oklch(38.32% 0.144 271.8) |
| XYZ | xyz(7.2433, 5.1983, 26.2076) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.26
Blueberry
#464196
ΔE00 4.67
Darkslateblue
#483D8B
ΔE00 5.10
Cobalt (survey)
#1E488F
ΔE00 7.00
Cobalt
#0047AB
ΔE00 7.22
Darkish Blue
#014182
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B378E #8E822B
analogous
#2B698E #2B378E #512B8E
triadic
#2B378E #8E2B37 #378E2B
tetradic
#2B378E #8E2B69 #8E822B #2B8E51
square
#2B378E #8E2B69 #8E822B #2B8E51
split-complementary
#2B378E #8E512B #698E2B
monochromatic
#0F1330 #1D255F #2B378E #3949BD #6371D0
Accessibility & contrast
On white
10.30
#2B378E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2B378E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B378E
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B378E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B378E | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2b378e; /* rgb */ color: rgb(43, 55, 142); /* oklch */ color: oklch(38.3% 0.144 271.8);
Tailwind
colors: {
custom: {
50: '#726db0',
500: '#2b378e',
950: '#000000',
},
}SCSS
$custom: #2b378e; $custom-light: #726db0; $custom-dark: #000000;
JSON
{
"hex": "#2b378e",
"rgb": {
"r": 43,
"g": 55,
"b": 142
},
"hsl": {
"h": 232.727,
"s": 53.514,
"l": 36.275
},
"oklch": {
"l": 0.38318,
"c": 0.14353,
"h": 271.8
},
"luminance": 0.05199
}Semantic roles & 50–950 ramp
primary
#2B378E
secondary
#B6AB5F
accent
#CB4BDD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F