#36318F#36318F
#36318F is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.150 H 278.9°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #36318F |
|---|---|
| RGB | rgb(54, 49, 143) |
| HSL | hsl(243, 49%, 38%) |
| HSV | hsv(243, 66%, 56%) |
| CMYK | cmyk(62.2%, 65.7%, 0%, 43.9%) |
| CIE-LAB | lab(26.63, 31.43, -51.43) |
| CIE-LCH | lch(26.63, 60.27, 301.43°) |
| OKLab | oklab(38.06% 0.0232 -0.1481) |
| OKLCH | oklch(38.06% 0.15 278.9) |
| XYZ | xyz(7.5760, 4.9635, 26.5401) |
| Luminance | 0.0496 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.52
Blueberry
#464196
ΔE00 4.85
Sapphire (survey)
#2138AB
ΔE00 5.05
Royal
#0C1793
ΔE00 6.92
Indigo Blue
#3A18B1
ΔE00 7.38
Ocean Blue
#4F42B5
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36318F #8A8F31
analogous
#315B8F #36318F #65318F
triadic
#36318F #8F3631 #318F36
tetradic
#36318F #8F315B #8A8F31 #318F65
square
#36318F #8F315B #8A8F31 #318F65
split-complementary
#36318F #8F6531 #5B8F31
monochromatic
#141234 #252161 #36318F #4741BD #726DCD
Accessibility & contrast
On white
10.54
#36318F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#36318F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36318F
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36318F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36318F | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #36318f; /* rgb */ color: rgb(54, 49, 143); /* oklch */ color: oklch(38.1% 0.150 278.9);
Tailwind
colors: {
custom: {
50: '#7769b1',
500: '#36318f',
950: '#000000',
},
}SCSS
$custom: #36318f; $custom-light: #7769b1; $custom-dark: #000000;
JSON
{
"hex": "#36318f",
"rgb": {
"r": 54,
"g": 49,
"b": 143
},
"hsl": {
"h": 243.191,
"s": 48.958,
"l": 37.647
},
"oklch": {
"l": 0.38058,
"c": 0.1499,
"h": 278.9
},
"luminance": 0.04964
}Semantic roles & 50–950 ramp
primary
#36318F
secondary
#B1B567
accent
#D94FD1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80