#36398F#36398F
#36398F is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.5% C 0.139 H 276.4°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #36398F |
|---|---|
| RGB | rgb(54, 57, 143) |
| HSL | hsl(238, 45%, 39%) |
| HSV | hsv(238, 62%, 56%) |
| CMYK | cmyk(62.2%, 60.1%, 0%, 43.9%) |
| CIE-LAB | lab(28.62, 26.23, -48.18) |
| CIE-LCH | lch(28.62, 54.86, 298.57°) |
| OKLab | oklab(39.52% 0.0156 -0.1385) |
| OKLCH | oklch(39.52% 0.139 276.4) |
| XYZ | xyz(7.9408, 5.6931, 26.6617) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.20
Darkslateblue
#483D8B
ΔE00 3.55
Sapphire (survey)
#2138AB
ΔE00 4.63
Ocean Blue
#4F42B5
ΔE00 6.99
Cobalt (survey)
#1E488F
ΔE00 7.61
Cobalt
#0047AB
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#36398F #8F8C36
analogous
#36658F #36398F #5F368F
triadic
#36398F #8F3639 #398F36
tetradic
#36398F #8F3665 #8F8C36 #368F5F
square
#36398F #8F3665 #8F8C36 #368F5F
split-complementary
#36398F #8F5F36 #658F36
monochromatic
#141636 #252763 #36398F #484CBA #7578CB
Accessibility & contrast
On white
9.82
#36398F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#36398F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #36398F
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##36398F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##36398F | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00408D
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #36398f; /* rgb */ color: rgb(54, 57, 143); /* oklch */ color: oklch(39.5% 0.139 276.4);
Tailwind
colors: {
custom: {
50: '#776fb0',
500: '#36398f',
950: '#000000',
},
}SCSS
$custom: #36398f; $custom-light: #776fb0; $custom-dark: #000000;
JSON
{
"hex": "#36398f",
"rgb": {
"r": 54,
"g": 57,
"b": 143
},
"hsl": {
"h": 237.978,
"s": 45.178,
"l": 38.627
},
"oklch": {
"l": 0.39522,
"c": 0.13937,
"h": 276.4
},
"luminance": 0.05694
}Semantic roles & 50–950 ramp
primary
#36398F
secondary
#B3B16D
accent
#D053D5
background
#F7F6FA
surface
#EEECF5
border
#C9C7CF
text
#090711
muted
#7B7A80