#3A378F#3A378F
#3A378F is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.4% C 0.141 H 279.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #3A378F |
|---|---|
| RGB | rgb(58, 55, 143) |
| HSL | hsl(242, 44%, 39%) |
| HSV | hsv(242, 62%, 56%) |
| CMYK | cmyk(59.4%, 61.5%, 0%, 43.9%) |
| CIE-LAB | lab(28.42, 28.28, -48.51) |
| CIE-LCH | lch(28.42, 56.15, 300.24°) |
| OKLab | oklab(39.45% 0.0227 -0.1393) |
| OKLCH | oklch(39.45% 0.141 279.2) |
| XYZ | xyz(8.0675, 5.6145, 26.6399) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.12
Blueberry
#464196
ΔE00 3.22
Sapphire (survey)
#2138AB
ΔE00 4.98
Ocean Blue
#4F42B5
ΔE00 6.81
Blue Blue
#2242C7
ΔE00 8.60
Royal
#0C1793
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A378F #8C8F37
analogous
#37608F #3A378F #66378F
triadic
#3A378F #8F3A37 #378F3A
tetradic
#3A378F #8F3760 #8C8F37 #378F66
square
#3A378F #8F3760 #8C8F37 #378F66
split-complementary
#3A378F #8F6637 #608F37
monochromatic
#161537 #282663 #3A378F #4E4AB9 #7976CA
Accessibility & contrast
On white
9.89
#3A378F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#3A378F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A378F
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A378F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A378F | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#044C5D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #3a378f; /* rgb */ color: rgb(58, 55, 143); /* oklch */ color: oklch(39.4% 0.141 279.2);
Tailwind
colors: {
custom: {
50: '#796eb0',
500: '#3a378f',
950: '#000000',
},
}SCSS
$custom: #3a378f; $custom-light: #796eb0; $custom-dark: #000000;
JSON
{
"hex": "#3a378f",
"rgb": {
"r": 58,
"g": 55,
"b": 143
},
"hsl": {
"h": 242.045,
"s": 44.444,
"l": 38.824
},
"oklch": {
"l": 0.39448,
"c": 0.14118,
"h": 279.2
},
"luminance": 0.05615
}Semantic roles & 50–950 ramp
primary
#3A378F
secondary
#B1B36F
accent
#D454D0
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0711
muted
#7C7A80