#2B378C#2B378C
#2B378C is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.141 H 271.8°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2B378C |
|---|---|
| RGB | rgb(43, 55, 140) |
| HSL | hsl(233, 53%, 36%) |
| HSV | hsv(233, 69%, 55%) |
| CMYK | cmyk(69.3%, 60.7%, 0%, 45.1%) |
| CIE-LAB | lab(27.13, 24.63, -48.80) |
| CIE-LCH | lch(27.13, 54.66, 296.78°) |
| OKLab | oklab(38.14% 0.0045 -0.1406) |
| OKLCH | oklch(38.14% 0.141 271.8) |
| XYZ | xyz(7.0945, 5.1388, 25.4239) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.58
Blueberry
#464196
ΔE00 4.75
Darkslateblue
#483D8B
ΔE00 5.08
Cobalt (survey)
#1E488F
ΔE00 6.95
Cobalt
#0047AB
ΔE00 7.34
Darkish Blue
#014182
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B378C #8C802B
analogous
#2B678C #2B378C #4F2B8C
triadic
#2B378C #8C2B37 #378C2B
tetradic
#2B378C #8C2B67 #8C802B #2B8C4F
square
#2B378C #8C2B67 #8C802B #2B8C4F
split-complementary
#2B378C #8C4F2B #678C2B
monochromatic
#0E122E #1D255D #2B378C #3949BB #6270CF
Accessibility & contrast
On white
10.36
#2B378C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2B378C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B378C
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B378C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B378C | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2b378c; /* rgb */ color: rgb(43, 55, 140); /* oklch */ color: oklch(38.1% 0.141 271.8);
Tailwind
colors: {
custom: {
50: '#716dae',
500: '#2b378c',
950: '#000000',
},
}SCSS
$custom: #2b378c; $custom-light: #716dae; $custom-dark: #000000;
JSON
{
"hex": "#2b378c",
"rgb": {
"r": 43,
"g": 55,
"b": 140
},
"hsl": {
"h": 232.577,
"s": 53.005,
"l": 35.882
},
"oklch": {
"l": 0.38143,
"c": 0.14069,
"h": 271.8
},
"luminance": 0.05139
}Semantic roles & 50–950 ramp
primary
#2B378C
secondary
#B5AA5E
accent
#CA4BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F