#313EE3#313EE3
#313EE3 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 48.0% C 0.243 H 269.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #313EE3 |
|---|---|
| RGB | rgb(49, 62, 227) |
| HSL | hsl(236, 76%, 54%) |
| HSV | hsv(236, 78%, 89%) |
| CMYK | cmyk(78.4%, 72.7%, 0%, 11%) |
| CIE-LAB | lab(37.19, 51.60, -83.84) |
| CIE-LCH | lch(37.19, 98.44, 301.61°) |
| OKLab | oklab(48.01% -0.001 -0.2428) |
| OKLCH | oklch(48.01% 0.243 269.8) |
| XYZ | xyz(16.8496, 9.6423, 73.6313) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Vibrant Blue
#0339F8
ΔE00 2.37
Blue (survey)
#0343DF
ΔE00 2.69
Vivid Blue
#152EFF
ΔE00 3.81
Light Royal Blue
#3A2EFE
ΔE00 4.14
Blue Blue
#2242C7
ΔE00 4.28
Blurple
#5539CC
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313EE3 #E3D631
analogous
#3197E3 #313EE3 #7D31E3
triadic
#313EE3 #E3313E #3EE331
tetradic
#313EE3 #E33197 #E3D631 #31E37D
square
#313EE3 #E33197 #E3D631 #31E37D
split-complementary
#313EE3 #E37D31 #97E331
monochromatic
#121B87 #1A26BD #313EE3 #6770EA #9DA3F2
Accessibility & contrast
On white
7.17
#313EE3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#313EE3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313EE3
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313EE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313EE3 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060E8
Deuteranopia (green-blind)
#004FE0
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #313ee3; /* rgb */ color: rgb(49, 62, 227); /* oklch */ color: oklch(48.0% 0.243 269.8);
Tailwind
colors: {
custom: {
50: '#8775ed',
500: '#313ee3',
950: '#000000',
},
}SCSS
$custom: #313ee3; $custom-light: #8775ed; $custom-dark: #000000;
JSON
{
"hex": "#313ee3",
"rgb": {
"r": 49,
"g": 62,
"b": 227
},
"hsl": {
"h": 235.618,
"s": 76.068,
"l": 54.118
},
"oklch": {
"l": 0.48008,
"c": 0.24285,
"h": 269.8
},
"luminance": 0.09644
}Semantic roles & 50–950 ramp
primary
#313EE3
secondary
#DED892
accent
#E535F3
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0817
muted
#7E7B85