#313694#313694
#313694 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.0% C 0.152 H 274.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #313694 |
|---|---|
| RGB | rgb(49, 54, 148) |
| HSL | hsl(237, 50%, 39%) |
| HSV | hsv(237, 67%, 58%) |
| CMYK | cmyk(66.9%, 63.5%, 0%, 42%) |
| CIE-LAB | lab(27.92, 29.15, -52.42) |
| CIE-LCH | lch(27.92, 59.98, 299.08°) |
| OKLab | oklab(39.04% 0.0121 -0.1511) |
| OKLCH | oklch(39.04% 0.152 274.6) |
| XYZ | xyz(7.9293, 5.4287, 28.6412) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.60
Blueberry
#464196
ΔE00 4.13
Darkslateblue
#483D8B
ΔE00 4.65
Ocean Blue
#4F42B5
ΔE00 6.90
Blue Blue
#2242C7
ΔE00 7.66
Cobalt
#0047AB
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313694 #948F31
analogous
#316794 #313694 #5D3194
triadic
#313694 #943136 #369431
tetradic
#313694 #943167 #948F31 #31945D
square
#313694 #943167 #948F31 #31945D
split-complementary
#313694 #945D31 #679431
monochromatic
#131438 #222566 #313694 #4248C0 #7075D0
Accessibility & contrast
On white
10.07
#313694 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#313694 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313694
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313694 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313694 | 1.00 | 10.07 | 2.09 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#004E5F
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #313694; /* rgb */ color: rgb(49, 54, 148); /* oklch */ color: oklch(39.0% 0.152 274.6);
Tailwind
colors: {
custom: {
50: '#766db4',
500: '#313694',
950: '#000000',
},
}SCSS
$custom: #313694; $custom-light: #766db4; $custom-dark: #000000;
JSON
{
"hex": "#313694",
"rgb": {
"r": 49,
"g": 54,
"b": 148
},
"hsl": {
"h": 236.97,
"s": 50.254,
"l": 38.627
},
"oklch": {
"l": 0.39042,
"c": 0.15157,
"h": 274.6
},
"luminance": 0.05429
}Semantic roles & 50–950 ramp
primary
#313694
secondary
#B7B369
accent
#D34EDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80