#315BCA#315BCA
#315BCA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.8% C 0.179 H 264.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #315BCA |
|---|---|
| RGB | rgb(49, 91, 202) |
| HSL | hsl(224, 61%, 49%) |
| HSV | hsv(224, 76%, 79%) |
| CMYK | cmyk(75.7%, 55%, 0%, 20.8%) |
| CIE-LAB | lab(41.84, 24.82, -61.87) |
| CIE-LCH | lch(41.84, 66.66, 291.86°) |
| OKLab | oklab(50.76% -0.0158 -0.1784) |
| OKLCH | oklch(50.76% 0.179 264.9) |
| XYZ | xyz(15.6646, 12.3977, 57.4331) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.07
Sapphire
#0F52BA
ΔE00 4.20
Denim
#1560BD
ΔE00 4.54
Warm Blue
#4B57DB
ΔE00 4.90
Royal Blue
#4169E1
ΔE00 5.72
French Blue
#436BAD
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315BCA #CAA031
analogous
#31A8CA #315BCA #5331CA
triadic
#315BCA #CA315B #5BCA31
tetradic
#315BCA #CA31A8 #CAA031 #31CA53
square
#315BCA #CA31A8 #CAA031 #31CA53
split-complementary
#315BCA #CA5331 #A8CA31
monochromatic
#192F67 #254599 #315BCA #6081D8 #91A8E4
Accessibility & contrast
On white
6.03
#315BCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#315BCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315BCA
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315BCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315BCA | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005CC8
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #315bca; /* rgb */ color: rgb(49, 91, 202); /* oklch */ color: oklch(50.8% 0.179 264.9);
Tailwind
colors: {
custom: {
50: '#7f88db',
500: '#315bca',
950: '#000000',
},
}SCSS
$custom: #315bca; $custom-light: #7f88db; $custom-dark: #000000;
JSON
{
"hex": "#315bca",
"rgb": {
"r": 49,
"g": 91,
"b": 202
},
"hsl": {
"h": 223.529,
"s": 60.956,
"l": 49.216
},
"oklch": {
"l": 0.50761,
"c": 0.17909,
"h": 264.9
},
"luminance": 0.12399
}Semantic roles & 50–950 ramp
primary
#315BCA
secondary
#CFBB88
accent
#B844E4
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83