#2D378C#2D378C
#2D378C is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.140 H 272.8°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2D378C |
|---|---|
| RGB | rgb(45, 55, 140) |
| HSL | hsl(234, 51%, 36%) |
| HSV | hsv(234, 68%, 55%) |
| CMYK | cmyk(67.9%, 60.7%, 0%, 45.1%) |
| CIE-LAB | lab(27.25, 24.95, -48.59) |
| CIE-LCH | lch(27.25, 54.62, 297.17°) |
| OKLab | oklab(38.27% 0.0068 -0.14) |
| OKLCH | oklch(38.27% 0.14 272.8) |
| XYZ | xyz(7.1804, 5.1831, 25.4279) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 4.53
Sapphire (survey)
#2138AB
ΔE00 4.62
Darkslateblue
#483D8B
ΔE00 4.81
Cobalt (survey)
#1E488F
ΔE00 7.14
Cobalt
#0047AB
ΔE00 7.52
Darkish Blue
#014182
ΔE00 7.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D378C #8C822D
analogous
#2D678C #2D378C #532D8C
triadic
#2D378C #8C2D37 #378C2D
tetradic
#2D378C #8C2D67 #8C822D #2D8C53
square
#2D378C #8C2D67 #8C822D #2D8C53
split-complementary
#2D378C #8C532D #678C2D
monochromatic
#0F132F #1E255E #2D378C #3C49BA #6671CE
Accessibility & contrast
On white
10.31
#2D378C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2D378C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D378C
10.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D378C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D378C | 1.00 | 10.31 | 2.04 | 10.31 |
| #FFFFFF | 10.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.31 | 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: #2d378c; /* rgb */ color: rgb(45, 55, 140); /* oklch */ color: oklch(38.3% 0.140 272.8);
Tailwind
colors: {
custom: {
50: '#726dae',
500: '#2d378c',
950: '#000000',
},
}SCSS
$custom: #2d378c; $custom-light: #726dae; $custom-dark: #000000;
JSON
{
"hex": "#2d378c",
"rgb": {
"r": 45,
"g": 55,
"b": 140
},
"hsl": {
"h": 233.684,
"s": 51.351,
"l": 36.275
},
"oklch": {
"l": 0.38268,
"c": 0.14012,
"h": 272.8
},
"luminance": 0.05184
}Semantic roles & 50–950 ramp
primary
#2D378C
secondary
#B4AB60
accent
#CC4DDB
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F