#2D378F#2D378F
#2D378F is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.5% C 0.144 H 272.7°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2D378F |
|---|---|
| RGB | rgb(45, 55, 143) |
| HSL | hsl(234, 52%, 37%) |
| HSV | hsv(234, 69%, 56%) |
| CMYK | cmyk(68.5%, 61.5%, 0%, 43.9%) |
| CIE-LAB | lab(27.50, 26.05, -50.04) |
| CIE-LCH | lch(27.50, 56.42, 297.50°) |
| OKLab | oklab(38.53% 0.0067 -0.1442) |
| OKLCH | oklch(38.53% 0.144 272.7) |
| XYZ | xyz(7.4046, 5.2728, 26.6088) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.15
Blueberry
#464196
ΔE00 4.42
Darkslateblue
#483D8B
ΔE00 4.86
Cobalt (survey)
#1E488F
ΔE00 7.21
Cobalt
#0047AB
ΔE00 7.33
Ocean Blue
#4F42B5
ΔE00 7.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D378F #8F852D
analogous
#2D688F #2D378F #542D8F
triadic
#2D378F #8F2D37 #378F2D
tetradic
#2D378F #8F2D68 #8F852D #2D8F54
square
#2D378F #8F2D68 #8F852D #2D8F54
split-complementary
#2D378F #8F542D #688F2D
monochromatic
#101332 #1E2560 #2D378F #3C49BE #6772CF
Accessibility & contrast
On white
10.22
#2D378F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#2D378F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D378F
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D378F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D378F | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2d378f; /* rgb */ color: rgb(45, 55, 143); /* oklch */ color: oklch(38.5% 0.144 272.7);
Tailwind
colors: {
custom: {
50: '#736db1',
500: '#2d378f',
950: '#000000',
},
}SCSS
$custom: #2d378f; $custom-light: #736db1; $custom-dark: #000000;
JSON
{
"hex": "#2d378f",
"rgb": {
"r": 45,
"g": 55,
"b": 143
},
"hsl": {
"h": 233.878,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.38529,
"c": 0.14438,
"h": 272.7
},
"luminance": 0.05273
}Semantic roles & 50–950 ramp
primary
#2D378F
secondary
#B6AD62
accent
#CD4CDC
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80