#313592#313592
#313592 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.150 H 275.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #313592 |
|---|---|
| RGB | rgb(49, 53, 146) |
| HSL | hsl(238, 50%, 38%) |
| HSV | hsv(238, 66%, 57%) |
| CMYK | cmyk(66.4%, 63.7%, 0%, 42.7%) |
| CIE-LAB | lab(27.50, 29.09, -51.88) |
| CIE-LCH | lch(27.50, 59.48, 299.28°) |
| OKLab | oklab(38.68% 0.0131 -0.1495) |
| OKLCH | oklch(38.68% 0.15 275) |
| XYZ | xyz(7.7263, 5.2738, 27.7993) |
| Luminance | 0.0527 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.93
Blueberry
#464196
ΔE00 4.29
Darkslateblue
#483D8B
ΔE00 4.62
Ocean Blue
#4F42B5
ΔE00 7.18
Royal
#0C1793
ΔE00 7.76
Blue Blue
#2242C7
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313592 #928E31
analogous
#316592 #313592 #5D3192
triadic
#313592 #923135 #359231
tetradic
#313592 #923165 #928E31 #31925D
square
#313592 #923165 #928E31 #31925D
split-complementary
#313592 #925D31 #659231
monochromatic
#121436 #222464 #313592 #4146BF #6F73CF
Accessibility & contrast
On white
10.22
#313592 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#313592 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313592
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313592 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313592 | 1.00 | 10.22 | 2.05 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004595
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#004C5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #313592; /* rgb */ color: rgb(49, 53, 146); /* oklch */ color: oklch(38.7% 0.150 275.0);
Tailwind
colors: {
custom: {
50: '#756cb3',
500: '#313592',
950: '#000000',
},
}SCSS
$custom: #313592; $custom-light: #756cb3; $custom-dark: #000000;
JSON
{
"hex": "#313592",
"rgb": {
"r": 49,
"g": 53,
"b": 146
},
"hsl": {
"h": 237.526,
"s": 49.744,
"l": 38.235
},
"oklch": {
"l": 0.38679,
"c": 0.15008,
"h": 275
},
"luminance": 0.05274
}Semantic roles & 50–950 ramp
primary
#313592
secondary
#B6B369
accent
#D44FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80