#313F90#313F90
#313F90 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.5% C 0.134 H 271.7°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #313F90 |
|---|---|
| RGB | rgb(49, 63, 144) |
| HSL | hsl(231, 49%, 38%) |
| HSV | hsv(231, 66%, 56%) |
| CMYK | cmyk(66%, 56.3%, 0%, 43.5%) |
| CIE-LAB | lab(29.96, 21.70, -46.64) |
| CIE-LCH | lch(29.96, 51.45, 294.95°) |
| OKLab | oklab(40.46% 0.0039 -0.134) |
| OKLCH | oklch(40.46% 0.134 271.7) |
| XYZ | xyz(8.0765, 6.2209, 27.1553) |
| Luminance | 0.0622 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 3.76
Darkslateblue
#483D8B
ΔE00 4.86
Sapphire (survey)
#2138AB
ΔE00 4.86
Cobalt (survey)
#1E488F
ΔE00 5.17
Cobalt
#0047AB
ΔE00 5.83
Darkish Blue
#014182
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313F90 #908231
analogous
#316E90 #313F90 #523190
triadic
#313F90 #90313F #3F9031
tetradic
#313F90 #90316E #908231 #319052
square
#313F90 #90316E #908231 #319052
split-complementary
#313F90 #905231 #6E9031
monochromatic
#121735 #212B62 #313F90 #4153BE #6E7CCE
Accessibility & contrast
On white
9.36
#313F90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#313F90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313F90
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313F90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313F90 | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004B93
Deuteranopia (green-blind)
#00428E
Tritanopia (blue-blind)
#005261
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #313f90; /* rgb */ color: rgb(49, 63, 144); /* oklch */ color: oklch(40.5% 0.134 271.7);
Tailwind
colors: {
custom: {
50: '#7473b1',
500: '#313f90',
950: '#000000',
},
}SCSS
$custom: #313f90; $custom-light: #7473b1; $custom-dark: #000000;
JSON
{
"hex": "#313f90",
"rgb": {
"r": 49,
"g": 63,
"b": 144
},
"hsl": {
"h": 231.158,
"s": 49.223,
"l": 37.843
},
"oklch": {
"l": 0.40457,
"c": 0.13409,
"h": 271.7
},
"luminance": 0.06222
}Semantic roles & 50–950 ramp
primary
#313F90
secondary
#B5AA68
accent
#C44FD9
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80