#313EE2#313EE2
#313EE2 is a mid, highly saturated blue. Relative luminance 0.096; OKLCH L 47.9% C 0.242 H 269.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #313EE2 |
|---|---|
| RGB | rgb(49, 62, 226) |
| HSL | hsl(236, 75%, 54%) |
| HSV | hsv(236, 78%, 89%) |
| CMYK | cmyk(78.3%, 72.6%, 0%, 11.4%) |
| CIE-LAB | lab(37.09, 51.27, -83.43) |
| CIE-LCH | lch(37.09, 97.93, 301.57°) |
| OKLab | oklab(47.91% -0.0008 -0.2417) |
| OKLCH | oklch(47.91% 0.242 269.8) |
| XYZ | xyz(16.7120, 9.5873, 72.9065) |
| Luminance | 0.0959 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Vibrant Blue
#0339F8
ΔE00 2.46
Blue (survey)
#0343DF
ΔE00 2.65
Vivid Blue
#152EFF
ΔE00 3.89
Blue Blue
#2242C7
ΔE00 4.17
Light Royal Blue
#3A2EFE
ΔE00 4.23
Blurple
#5539CC
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#313EE2 #E2D531
analogous
#3197E2 #313EE2 #7D31E2
triadic
#313EE2 #E2313E #3EE231
tetradic
#313EE2 #E23197 #E2D531 #31E27D
square
#313EE2 #E23197 #E2D531 #31E27D
split-complementary
#313EE2 #E27D31 #97E231
monochromatic
#131B86 #1A26BB #313EE2 #6770EA #9CA3F1
Accessibility & contrast
On white
7.20
#313EE2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#313EE2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #313EE2
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##313EE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##313EE2 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060E7
Deuteranopia (green-blind)
#004EDF
Tritanopia (blue-blind)
#006E8D
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #313ee2; /* rgb */ color: rgb(49, 62, 226); /* oklch */ color: oklch(47.9% 0.242 269.8);
Tailwind
colors: {
custom: {
50: '#8775ed',
500: '#313ee2',
950: '#000000',
},
}SCSS
$custom: #313ee2; $custom-light: #8775ed; $custom-dark: #000000;
JSON
{
"hex": "#313ee2",
"rgb": {
"r": 49,
"g": 62,
"b": 226
},
"hsl": {
"h": 235.593,
"s": 75.319,
"l": 53.922
},
"oklch": {
"l": 0.47906,
"c": 0.24168,
"h": 269.8
},
"luminance": 0.09589
}Semantic roles & 50–950 ramp
primary
#313EE2
secondary
#DDD892
accent
#E436F2
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0816
muted
#7E7B84