#372FAF#372FAF
#372FAF is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.9% C 0.194 H 276.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #372FAF |
|---|---|
| RGB | rgb(55, 47, 175) |
| HSL | hsl(244, 58%, 44%) |
| HSV | hsv(244, 73%, 69%) |
| CMYK | cmyk(68.6%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(29.26, 43.51, -66.57) |
| CIE-LCH | lch(29.26, 79.52, 303.17°) |
| OKLab | oklab(40.88% 0.0213 -0.1923) |
| OKLCH | oklch(40.88% 0.194 276.3) |
| XYZ | xyz(10.3274, 5.9395, 41.1513) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.85
Indigo Blue
#3A18B1
ΔE00 4.45
Ocean Blue
#4F42B5
ΔE00 5.57
Blue With A Hint Of Purple
#533CC6
ΔE00 5.73
Blurple
#5539CC
ΔE00 6.12
True Blue
#010FCC
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#372FAF #A7AF2F
analogous
#2F67AF #372FAF #772FAF
triadic
#372FAF #AF372F #2FAF37
tetradic
#372FAF #AF2F67 #A7AF2F #2FAF77
square
#372FAF #AF2F67 #A7AF2F #2FAF77
split-complementary
#372FAF #AF772F #67AF2F
monochromatic
#19154F #28227F #372FAF #544CCF #827CDC
Accessibility & contrast
On white
9.60
#372FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#372FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #372FAF
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##372FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##372FAF | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#003FAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #372faf; /* rgb */ color: rgb(55, 47, 175); /* oklch */ color: oklch(40.9% 0.194 276.3);
Tailwind
colors: {
custom: {
50: '#7f69c8',
500: '#372faf',
950: '#000000',
},
}SCSS
$custom: #372faf; $custom-light: #7f69c8; $custom-dark: #000000;
JSON
{
"hex": "#372faf",
"rgb": {
"r": 55,
"g": 47,
"b": 175
},
"hsl": {
"h": 243.75,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.40882,
"c": 0.19352,
"h": 276.3
},
"luminance": 0.0594
}Semantic roles & 50–950 ramp
primary
#372FAF
secondary
#C0C475
accent
#E147D7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82