#313E92#313E92
#313E92 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.4% C 0.138 H 272.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #313E92 |
|---|---|
| RGB | rgb(49, 62, 146) |
| HSL | hsl(232, 50%, 38%) |
| HSV | hsv(232, 66%, 57%) |
| CMYK | cmyk(66.4%, 57.5%, 0%, 42.7%) |
| CIE-LAB | lab(29.84, 23.11, -48.06) |
| CIE-LCH | lch(29.84, 53.33, 295.68°) |
| OKLab | oklab(40.42% 0.005 -0.1382) |
| OKLCH | oklch(40.42% 0.138 272.1) |
| XYZ | xyz(8.1758, 6.1728, 27.9492) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.59
Sapphire (survey)
#2138AB
ΔE00 4.40
Darkslateblue
#483D8B
ΔE00 4.75
Cobalt (survey)
#1E488F
ΔE00 5.54
Cobalt
#0047AB
ΔE00 5.89
Darkish Blue
#014182
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313E92 #928531
analogous
#316E92 #313E92 #543192
triadic
#313E92 #92313E #3E9231
tetradic
#313E92 #92316E #928531 #319254
square
#313E92 #92316E #928531 #319254
split-complementary
#313E92 #925431 #6E9231
monochromatic
#121736 #222B64 #313E92 #4152BF #6F7CCF
Accessibility & contrast
On white
9.40
#313E92 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#313E92 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313E92
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313E92 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313E92 | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#004290
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #313e92; /* rgb */ color: rgb(49, 62, 146); /* oklch */ color: oklch(40.4% 0.138 272.1);
Tailwind
colors: {
custom: {
50: '#7573b3',
500: '#313e92',
950: '#000000',
},
}SCSS
$custom: #313e92; $custom-light: #7573b3; $custom-dark: #000000;
JSON
{
"hex": "#313e92",
"rgb": {
"r": 49,
"g": 62,
"b": 146
},
"hsl": {
"h": 231.959,
"s": 49.744,
"l": 38.235
},
"oklch": {
"l": 0.40416,
"c": 0.13831,
"h": 272.1
},
"luminance": 0.06174
}Semantic roles & 50–950 ramp
primary
#313E92
secondary
#B6AC69
accent
#C74FD9
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80