#363897#363897
#363897 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 40.0% C 0.152 H 276.2°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #363897 |
|---|---|
| RGB | rgb(54, 56, 151) |
| HSL | hsl(239, 47%, 40%) |
| HSV | hsv(239, 64%, 59%) |
| CMYK | cmyk(64.2%, 62.9%, 0%, 40.8%) |
| CIE-LAB | lab(29.02, 29.71, -52.45) |
| CIE-LCH | lch(29.02, 60.28, 299.53°) |
| OKLab | oklab(40.02% 0.0163 -0.151) |
| OKLCH | oklch(40.02% 0.152 276.2) |
| XYZ | xyz(8.5196, 5.8463, 29.9516) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.38
Sapphire (survey)
#2138AB
ΔE00 3.51
Darkslateblue
#483D8B
ΔE00 4.17
Ocean Blue
#4F42B5
ΔE00 6.05
Blue Blue
#2242C7
ΔE00 7.20
Cobalt
#0047AB
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#363897 #979536
analogous
#366897 #363897 #643697
triadic
#363897 #973638 #389736
tetradic
#363897 #973668 #979536 #369764
square
#363897 #973668 #979536 #369764
split-complementary
#363897 #976436 #689736
monochromatic
#16173D #26276A #363897 #4B4EBF #787ACF
Accessibility & contrast
On white
9.68
#363897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#363897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #363897
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##363897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##363897 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#004095
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #363897; /* rgb */ color: rgb(54, 56, 151); /* oklch */ color: oklch(40.0% 0.152 276.2);
Tailwind
colors: {
custom: {
50: '#786fb6',
500: '#363897',
950: '#000000',
},
}SCSS
$custom: #363897; $custom-light: #786fb6; $custom-dark: #000000;
JSON
{
"hex": "#363897",
"rgb": {
"r": 54,
"g": 56,
"b": 151
},
"hsl": {
"h": 238.763,
"s": 47.317,
"l": 40.196
},
"oklch": {
"l": 0.40019,
"c": 0.15191,
"h": 276.2
},
"luminance": 0.05847
}Semantic roles & 50–950 ramp
primary
#363897
secondary
#B8B671
accent
#D451D7
background
#F7F6FB
surface
#EEECF6
border
#C9C7D0
text
#0A0711
muted
#7C7A80