#313692#313692
#313692 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.149 H 274.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #313692 |
|---|---|
| RGB | rgb(49, 54, 146) |
| HSL | hsl(237, 50%, 38%) |
| HSV | hsv(237, 66%, 57%) |
| CMYK | cmyk(66.4%, 63%, 0%, 42.7%) |
| CIE-LAB | lab(27.75, 28.43, -51.47) |
| CIE-LCH | lch(27.75, 58.80, 298.92°) |
| OKLab | oklab(38.87% 0.0122 -0.1483) |
| OKLCH | oklch(38.87% 0.149 274.7) |
| XYZ | xyz(7.7724, 5.3660, 27.8147) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.88
Blueberry
#464196
ΔE00 4.12
Darkslateblue
#483D8B
ΔE00 4.53
Ocean Blue
#4F42B5
ΔE00 7.12
Cobalt
#0047AB
ΔE00 7.80
Blue Blue
#2242C7
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313692 #928D31
analogous
#316692 #313692 #5C3192
triadic
#313692 #923136 #369231
tetradic
#313692 #923166 #928D31 #31925C
square
#313692 #923166 #928D31 #31925C
split-complementary
#313692 #925C31 #669231
monochromatic
#121436 #222564 #313692 #4147BF #6F74CF
Accessibility & contrast
On white
10.13
#313692 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#313692 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313692
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313692 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313692 | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004695
Deuteranopia (green-blind)
#003D90
Tritanopia (blue-blind)
#004D5E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #313692; /* rgb */ color: rgb(49, 54, 146); /* oklch */ color: oklch(38.9% 0.149 274.7);
Tailwind
colors: {
custom: {
50: '#756db3',
500: '#313692',
950: '#000000',
},
}SCSS
$custom: #313692; $custom-light: #756db3; $custom-dark: #000000;
JSON
{
"hex": "#313692",
"rgb": {
"r": 49,
"g": 54,
"b": 146
},
"hsl": {
"h": 236.907,
"s": 49.744,
"l": 38.235
},
"oklch": {
"l": 0.38865,
"c": 0.1488,
"h": 274.7
},
"luminance": 0.05367
}Semantic roles & 50–950 ramp
primary
#313692
secondary
#B6B269
accent
#D24FD9
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80