#3A368F#3A368F
#3A368F is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.3% C 0.143 H 279.6°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #3A368F |
|---|---|
| RGB | rgb(58, 54, 143) |
| HSL | hsl(243, 45%, 39%) |
| HSV | hsv(243, 62%, 56%) |
| CMYK | cmyk(59.4%, 62.2%, 0%, 43.9%) |
| CIE-LAB | lab(28.17, 28.93, -48.91) |
| CIE-LCH | lch(28.17, 56.82, 300.60°) |
| OKLab | oklab(39.26% 0.0237 -0.1405) |
| OKLCH | oklch(39.26% 0.143 279.6) |
| XYZ | xyz(8.0204, 5.5205, 26.6242) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 3.26
Blueberry
#464196
ΔE00 3.45
Sapphire (survey)
#2138AB
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 6.88
Royal
#0C1793
ΔE00 8.38
Indigo Blue
#3A18B1
ΔE00 8.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A368F #8B8F36
analogous
#365E8F #3A368F #66368F
triadic
#3A368F #8F3A36 #368F3A
tetradic
#3A368F #8F365E #8B8F36 #368F66
square
#3A368F #8F365E #8B8F36 #368F66
split-complementary
#3A368F #8F6636 #5E8F36
monochromatic
#161436 #282563 #3A368F #4D48BA #7975CB
Accessibility & contrast
On white
9.98
#3A368F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#3A368F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A368F
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A368F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A368F | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#003F8D
Tritanopia (blue-blind)
#044C5D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #3a368f; /* rgb */ color: rgb(58, 54, 143); /* oklch */ color: oklch(39.3% 0.143 279.6);
Tailwind
colors: {
custom: {
50: '#796db1',
500: '#3a368f',
950: '#000000',
},
}SCSS
$custom: #3a368f; $custom-light: #796db1; $custom-dark: #000000;
JSON
{
"hex": "#3a368f",
"rgb": {
"r": 58,
"g": 54,
"b": 143
},
"hsl": {
"h": 242.697,
"s": 45.178,
"l": 38.627
},
"oklch": {
"l": 0.39264,
"c": 0.14251,
"h": 279.6
},
"luminance": 0.05521
}Semantic roles & 50–950 ramp
primary
#3A368F
secondary
#B0B36D
accent
#D553CF
background
#F7F6FA
surface
#EEEBF5
border
#C9C6CF
text
#0A0711
muted
#7C7A80