#372A9F#372A9F
#372A9F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.179 H 278.9°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).
Color values
| HEX | #372A9F |
|---|---|
| RGB | rgb(55, 42, 159) |
| HSL | hsl(247, 58%, 39%) |
| HSV | hsv(247, 74%, 62%) |
| CMYK | cmyk(65.4%, 73.6%, 0%, 37.6%) |
| CIE-LAB | lab(26.65, 41.14, -61.21) |
| CIE-LCH | lch(26.65, 73.75, 303.91°) |
| OKLab | oklab(38.55% 0.0277 -0.1767) |
| OKLCH | oklch(38.55% 0.179 278.9) |
| XYZ | xyz(8.6595, 4.9707, 33.2973) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.13
Sapphire (survey)
#2138AB
ΔE00 5.03
Royal
#0C1793
ΔE00 5.49
Cobalt Blue
#030AA7
ΔE00 6.29
Ultramarine
#2000B1
ΔE00 6.48
Royal Blue (survey)
#0504AA
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372A9F #929F2A
analogous
#2A579F #372A9F #722A9F
triadic
#372A9F #9F372A #2A9F37
tetradic
#372A9F #9F2A57 #929F2A #2A9F72
square
#372A9F #9F2A57 #929F2A #2A9F72
split-complementary
#372A9F #9F722A #579F2A
monochromatic
#16103E #261D6F #372A9F #4B3BCB #776BD8
Accessibility & contrast
On white
10.53
#372A9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#372A9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372A9F
10.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372A9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372A9F | 1.00 | 10.53 | 1.99 | 10.53 |
| #FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003A9D
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #372a9f; /* rgb */ color: rgb(55, 42, 159); /* oklch */ color: oklch(38.5% 0.179 278.9);
Tailwind
colors: {
custom: {
50: '#7c65bc',
500: '#372a9f',
950: '#000000',
},
}SCSS
$custom: #372a9f; $custom-light: #7c65bc; $custom-dark: #000000;
JSON
{
"hex": "#372a9f",
"rgb": {
"r": 55,
"g": 42,
"b": 159
},
"hsl": {
"h": 246.667,
"s": 58.209,
"l": 39.412
},
"oklch": {
"l": 0.38548,
"c": 0.17883,
"h": 278.9
},
"luminance": 0.04971
}Semantic roles & 50–950 ramp
primary
#372A9F
secondary
#B5BF66
accent
#E146D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81