#313099#313099
#313099 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.166 H 275.7°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #313099 |
|---|---|
| RGB | rgb(49, 48, 153) |
| HSL | hsl(241, 52%, 39%) |
| HSV | hsv(241, 69%, 60%) |
| CMYK | cmyk(68%, 68.6%, 0%, 40%) |
| CIE-LAB | lab(26.92, 34.76, -57.12) |
| CIE-LCH | lch(26.92, 66.87, 301.33°) |
| OKLab | oklab(38.45% 0.0164 -0.1649) |
| OKLCH | oklch(38.45% 0.166 275.7) |
| XYZ | xyz(8.0715, 5.0661, 30.6833) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.76
Blueberry
#464196
ΔE00 5.46
Darkslateblue
#483D8B
ΔE00 5.75
Indigo Blue
#3A18B1
ΔE00 6.26
Royal
#0C1793
ΔE00 6.29
Ocean Blue
#4F42B5
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313099 #989930
analogous
#306499 #313099 #653099
triadic
#313099 #993130 #309931
tetradic
#313099 #993064 #989930 #309965
square
#313099 #993064 #989930 #309965
split-complementary
#313099 #996530 #649930
monochromatic
#13133C #22216A #313099 #4442C4 #7271D2
Accessibility & contrast
On white
10.43
#313099 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#313099 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313099
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313099 | 1.00 | 10.43 | 2.01 | 10.43 |
| #FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003B97
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #313099; /* rgb */ color: rgb(49, 48, 153); /* oklch */ color: oklch(38.5% 0.166 275.7);
Tailwind
colors: {
custom: {
50: '#7769b8',
500: '#313099',
950: '#000000',
},
}SCSS
$custom: #313099; $custom-light: #7769b8; $custom-dark: #000000;
JSON
{
"hex": "#313099",
"rgb": {
"r": 49,
"g": 48,
"b": 153
},
"hsl": {
"h": 240.571,
"s": 52.239,
"l": 39.412
},
"oklch": {
"l": 0.38451,
"c": 0.16572,
"h": 275.7
},
"luminance": 0.05067
}Semantic roles & 50–950 ramp
primary
#313099
secondary
#B9BA6B
accent
#DC4CDA
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80