#315ADC#315ADC
#315ADC is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.0% C 0.204 H 266.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #315ADC |
|---|---|
| RGB | rgb(49, 90, 220) |
| HSL | hsl(226, 71%, 53%) |
| HSV | hsv(226, 78%, 86%) |
| CMYK | cmyk(77.7%, 59.1%, 0%, 13.7%) |
| CIE-LAB | lab(42.96, 32.13, -70.38) |
| CIE-LCH | lch(42.96, 77.36, 294.54°) |
| OKLab | oklab(52.03% -0.0143 -0.2034) |
| OKLCH | oklch(52.03% 0.204 266) |
| XYZ | xyz(17.8365, 13.1305, 69.2907) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.20
Warm Blue
#4B57DB
ΔE00 3.20
Electric Blue
#0652FF
ΔE00 4.39
Royal Blue
#4169E1
ΔE00 5.04
Bright Blue
#0165FC
ΔE00 5.34
Sapphire
#0F52BA
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315ADC #DCB331
analogous
#31AFDC #315ADC #5D31DC
triadic
#315ADC #DC315A #5ADC31
tetradic
#315ADC #DC31AF #DCB331 #31DC5D
square
#315ADC #DC31AF #DCB331 #31DC5D
split-complementary
#315ADC #DC5D31 #AFDC31
monochromatic
#152E7D #1E42B2 #315ADC #6584E5 #9AAEEE
Accessibility & contrast
On white
5.79
#315ADC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#315ADC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315ADC
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315ADC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315ADC | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#007B92
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #315adc; /* rgb */ color: rgb(49, 90, 220); /* oklch */ color: oklch(52.0% 0.204 266.0);
Tailwind
colors: {
custom: {
50: '#8388e8',
500: '#315adc',
950: '#000000',
},
}SCSS
$custom: #315adc; $custom-light: #8388e8; $custom-dark: #000000;
JSON
{
"hex": "#315adc",
"rgb": {
"r": 49,
"g": 90,
"b": 220
},
"hsl": {
"h": 225.614,
"s": 70.954,
"l": 52.745
},
"oklch": {
"l": 0.52031,
"c": 0.20389,
"h": 266
},
"luminance": 0.13133
}Semantic roles & 50–950 ramp
primary
#315ADC
secondary
#D9C88F
accent
#C33AEE
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84