#313ABB#313ABB
#313ABB is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.4% C 0.198 H 271.7°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #313ABB |
|---|---|
| RGB | rgb(49, 58, 187) |
| HSL | hsl(236, 58%, 46%) |
| HSV | hsv(236, 74%, 73%) |
| CMYK | cmyk(73.8%, 69%, 0%, 26.7%) |
| CIE-LAB | lab(32.40, 40.41, -68.53) |
| CIE-LCH | lch(32.40, 79.56, 300.53°) |
| OKLab | oklab(43.39% 0.006 -0.1983) |
| OKLCH | oklch(43.39% 0.198 271.7) |
| XYZ | xyz(11.7463, 7.2657, 47.7874) |
| Luminance | 0.0727 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.90
Blue Blue
#2242C7
ΔE00 3.01
Ocean Blue
#4F42B5
ΔE00 4.11
Blue With A Hint Of Purple
#533CC6
ΔE00 4.60
Blurple
#5539CC
ΔE00 5.22
Blue (survey)
#0343DF
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313ABB #BBB231
analogous
#317FBB #313ABB #6D31BB
triadic
#313ABB #BB313A #3ABB31
tetradic
#313ABB #BB317F #BBB231 #31BB6D
square
#313ABB #BB317F #BBB231 #31BB6D
split-complementary
#313ABB #BB6D31 #7FBB31
monochromatic
#181C5A #242B8B #313ABB #565ED3 #878DE0
Accessibility & contrast
On white
8.56
#313ABB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#313ABB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313ABB
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313ABB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313ABB | 1.00 | 8.56 | 2.45 | 8.56 |
| #FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0046B9
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #313abb; /* rgb */ color: rgb(49, 58, 187); /* oklch */ color: oklch(43.4% 0.198 271.7);
Tailwind
colors: {
custom: {
50: '#7e71d1',
500: '#313abb',
950: '#000000',
},
}SCSS
$custom: #313abb; $custom-light: #7e71d1; $custom-dark: #000000;
JSON
{
"hex": "#313abb",
"rgb": {
"r": 49,
"g": 58,
"b": 187
},
"hsl": {
"h": 236.087,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.4339,
"c": 0.19835,
"h": 271.7
},
"luminance": 0.07267
}Semantic roles & 50–950 ramp
primary
#313ABB
secondary
#C9C47F
accent
#D846E2
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83