#2D378D#2D378D
#2D378D is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.142 H 272.7°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2D378D |
|---|---|
| RGB | rgb(45, 55, 141) |
| HSL | hsl(234, 52%, 36%) |
| HSV | hsv(234, 68%, 55%) |
| CMYK | cmyk(68.1%, 61%, 0%, 44.7%) |
| CIE-LAB | lab(27.33, 25.32, -49.08) |
| CIE-LCH | lch(27.33, 55.22, 297.29°) |
| OKLab | oklab(38.35% 0.0068 -0.1414) |
| OKLCH | oklch(38.35% 0.142 272.7) |
| XYZ | xyz(7.2545, 5.2127, 25.8180) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.46
Blueberry
#464196
ΔE00 4.49
Darkslateblue
#483D8B
ΔE00 4.82
Cobalt (survey)
#1E488F
ΔE00 7.16
Cobalt
#0047AB
ΔE00 7.45
Darkish Blue
#014182
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D378D #8D832D
analogous
#2D678D #2D378D #532D8D
triadic
#2D378D #8D2D37 #378D2D
tetradic
#2D378D #8D2D67 #8D832D #2D8D53
square
#2D378D #8D2D67 #8D832D #2D8D53
split-complementary
#2D378D #8D532D #678D2D
monochromatic
#0F1330 #1E255F #2D378D #3C49BB #6671CE
Accessibility & contrast
On white
10.28
#2D378D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2D378D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D378D
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D378D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D378D | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2d378d; /* rgb */ color: rgb(45, 55, 141); /* oklch */ color: oklch(38.4% 0.142 272.7);
Tailwind
colors: {
custom: {
50: '#726daf',
500: '#2d378d',
950: '#000000',
},
}SCSS
$custom: #2d378d; $custom-light: #726daf; $custom-dark: #000000;
JSON
{
"hex": "#2d378d",
"rgb": {
"r": 45,
"g": 55,
"b": 141
},
"hsl": {
"h": 233.75,
"s": 51.613,
"l": 36.471
},
"oklch": {
"l": 0.38355,
"c": 0.14155,
"h": 272.7
},
"luminance": 0.05213
}Semantic roles & 50–950 ramp
primary
#2D378D
secondary
#B5AC61
accent
#CC4DDB
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F