#315BDC#315BDC
#315BDC is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 52.2% C 0.203 H 265.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #315BDC |
|---|---|
| RGB | rgb(49, 91, 220) |
| HSL | hsl(225, 71%, 53%) |
| HSV | hsv(225, 78%, 86%) |
| CMYK | cmyk(77.7%, 58.6%, 0%, 13.7%) |
| CIE-LAB | lab(43.21, 31.49, -69.96) |
| CIE-LCH | lch(43.21, 76.72, 294.23°) |
| OKLab | oklab(52.22% -0.0149 -0.2022) |
| OKLCH | oklch(52.22% 0.203 265.8) |
| XYZ | xyz(17.9214, 13.3004, 69.3190) |
| Luminance | 0.1330 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 2.03
Warm Blue
#4B57DB
ΔE00 3.40
Electric Blue
#0652FF
ΔE00 4.55
Royal Blue
#4169E1
ΔE00 4.74
Bright Blue
#0165FC
ΔE00 5.10
Sapphire
#0F52BA
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315BDC #DCB231
analogous
#31B1DC #315BDC #5C31DC
triadic
#315BDC #DC315B #5BDC31
tetradic
#315BDC #DC31B1 #DCB231 #31DC5C
square
#315BDC #DC31B1 #DCB231 #31DC5C
split-complementary
#315BDC #DC5C31 #B1DC31
monochromatic
#152F7D #1E42B2 #315BDC #6585E5 #9AAEEE
Accessibility & contrast
On white
5.74
#315BDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#315BDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315BDC
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315BDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315BDC | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#005EDA
Tritanopia (blue-blind)
#007C93
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #315bdc; /* rgb */ color: rgb(49, 91, 220); /* oklch */ color: oklch(52.2% 0.203 265.8);
Tailwind
colors: {
custom: {
50: '#8388e8',
500: '#315bdc',
950: '#000000',
},
}SCSS
$custom: #315bdc; $custom-light: #8388e8; $custom-dark: #000000;
JSON
{
"hex": "#315bdc",
"rgb": {
"r": 49,
"g": 91,
"b": 220
},
"hsl": {
"h": 225.263,
"s": 70.954,
"l": 52.745
},
"oklch": {
"l": 0.5222,
"c": 0.20272,
"h": 265.8
},
"luminance": 0.13302
}Semantic roles & 50–950 ramp
primary
#315BDC
secondary
#D9C78F
accent
#C23AEE
background
#F8F8FE
surface
#F0EFFD
border
#CBCAD5
text
#0D0B16
muted
#7D7C84