#315CDC#315CDC
#315CDC is a mid, highly saturated blue. Relative luminance 0.135; OKLCH L 52.4% C 0.202 H 265.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #315CDC |
|---|---|
| RGB | rgb(49, 92, 220) |
| HSL | hsl(225, 71%, 53%) |
| HSV | hsv(225, 78%, 86%) |
| CMYK | cmyk(77.7%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(43.47, 30.85, -69.55) |
| CIE-LCH | lch(43.47, 76.08, 293.92°) |
| OKLab | oklab(52.41% -0.0156 -0.2009) |
| OKLCH | oklch(52.41% 0.202 265.6) |
| XYZ | xyz(18.0075, 13.4725, 69.3477) |
| Luminance | 0.1348 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 1.91
Warm Blue
#4B57DB
ΔE00 3.61
Royal Blue
#4169E1
ΔE00 4.43
Electric Blue
#0652FF
ΔE00 4.73
Bright Blue
#0165FC
ΔE00 4.86
Denim
#1560BD
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315CDC #DCB131
analogous
#31B2DC #315CDC #5B31DC
triadic
#315CDC #DC315C #5CDC31
tetradic
#315CDC #DC31B2 #DCB131 #31DC5B
square
#315CDC #DC31B2 #DCB131 #31DC5B
split-complementary
#315CDC #DC5B31 #B2DC31
monochromatic
#152F7D #1E43B2 #315CDC #6585E5 #9AAFEE
Accessibility & contrast
On white
5.68
#315CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#315CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315CDC
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315CDC | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#005FDA
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #315cdc; /* rgb */ color: rgb(49, 92, 220); /* oklch */ color: oklch(52.4% 0.202 265.6);
Tailwind
colors: {
custom: {
50: '#8389e8',
500: '#315cdc',
950: '#000000',
},
}SCSS
$custom: #315cdc; $custom-light: #8389e8; $custom-dark: #000000;
JSON
{
"hex": "#315cdc",
"rgb": {
"r": 49,
"g": 92,
"b": 220
},
"hsl": {
"h": 224.912,
"s": 70.954,
"l": 52.745
},
"oklch": {
"l": 0.5241,
"c": 0.20153,
"h": 265.6
},
"luminance": 0.13475
}Semantic roles & 50–950 ramp
primary
#315CDC
secondary
#D9C78F
accent
#C13AEE
background
#F8F8FE
surface
#F0F0FD
border
#CBCBD5
text
#0D0B16
muted
#7D7C84