#372C9F#372C9F
#372C9F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.177 H 278.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #372C9F |
|---|---|
| RGB | rgb(55, 44, 159) |
| HSL | hsl(246, 57%, 40%) |
| HSV | hsv(246, 72%, 62%) |
| CMYK | cmyk(65.4%, 72.3%, 0%, 37.6%) |
| CIE-LAB | lab(27.06, 40.00, -60.53) |
| CIE-LCH | lch(27.06, 72.55, 303.46°) |
| OKLab | oklab(38.84% 0.0263 -0.1747) |
| OKLCH | oklch(38.84% 0.177 278.6) |
| XYZ | xyz(8.7322, 5.1161, 33.3215) |
| Luminance | 0.0512 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.54
Sapphire (survey)
#2138AB
ΔE00 4.63
Royal
#0C1793
ΔE00 5.83
Blueberry
#464196
ΔE00 6.38
Darkslateblue
#483D8B
ΔE00 6.57
Cobalt Blue
#030AA7
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372C9F #949F2C
analogous
#2C5B9F #372C9F #702C9F
triadic
#372C9F #9F372C #2C9F37
tetradic
#372C9F #9F2C5B #949F2C #2C9F70
square
#372C9F #9F2C5B #949F2C #2C9F70
split-complementary
#372C9F #9F702C #5B9F2C
monochromatic
#16113F #261F6F #372C9F #4C3ECA #786ED7
Accessibility & contrast
On white
10.38
#372C9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#372C9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372C9F
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372C9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372C9F | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #372c9f; /* rgb */ color: rgb(55, 44, 159); /* oklch */ color: oklch(38.8% 0.177 278.6);
Tailwind
colors: {
custom: {
50: '#7c67bc',
500: '#372c9f',
950: '#000000',
},
}SCSS
$custom: #372c9f; $custom-light: #7c67bc; $custom-dark: #000000;
JSON
{
"hex": "#372c9f",
"rgb": {
"r": 55,
"g": 44,
"b": 159
},
"hsl": {
"h": 245.739,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.38841,
"c": 0.17667,
"h": 278.6
},
"luminance": 0.05117
}Semantic roles & 50–950 ramp
primary
#372C9F
secondary
#B6BE69
accent
#E048D1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81