#315CCA#315CCA
#315CCA is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.178 H 264.7°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #315CCA |
|---|---|
| RGB | rgb(49, 92, 202) |
| HSL | hsl(223, 61%, 49%) |
| HSV | hsv(223, 76%, 79%) |
| CMYK | cmyk(75.7%, 54.5%, 0%, 20.8%) |
| CIE-LAB | lab(42.11, 24.17, -61.44) |
| CIE-LCH | lch(42.11, 66.02, 291.48°) |
| OKLab | oklab(50.96% -0.0165 -0.1771) |
| OKLCH | oklch(50.96% 0.178 264.7) |
| XYZ | xyz(15.7507, 12.5698, 57.4618) |
| Luminance | 0.1257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.03
Denim
#1560BD
ΔE00 4.30
Sapphire
#0F52BA
ΔE00 4.37
Warm Blue
#4B57DB
ΔE00 5.09
Royal Blue
#4169E1
ΔE00 5.49
French Blue
#436BAD
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315CCA #CA9F31
analogous
#31A9CA #315CCA #5231CA
triadic
#315CCA #CA315C #5CCA31
tetradic
#315CCA #CA31A9 #CA9F31 #31CA52
square
#315CCA #CA31A9 #CA9F31 #31CA52
split-complementary
#315CCA #CA5231 #A9CA31
monochromatic
#192F67 #254699 #315CCA #6082D8 #91A8E4
Accessibility & contrast
On white
5.98
#315CCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#315CCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315CCA
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315CCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315CCA | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #315cca; /* rgb */ color: rgb(49, 92, 202); /* oklch */ color: oklch(51.0% 0.178 264.7);
Tailwind
colors: {
custom: {
50: '#7f89db',
500: '#315cca',
950: '#000000',
},
}SCSS
$custom: #315cca; $custom-light: #7f89db; $custom-dark: #000000;
JSON
{
"hex": "#315cca",
"rgb": {
"r": 49,
"g": 92,
"b": 202
},
"hsl": {
"h": 223.137,
"s": 60.956,
"l": 49.216
},
"oklch": {
"l": 0.50962,
"c": 0.17787,
"h": 264.7
},
"luminance": 0.12572
}Semantic roles & 50–950 ramp
primary
#315CCA
secondary
#CFBB88
accent
#B744E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83