#315FCA#315FCA
#315FCA is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.6% C 0.174 H 263.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #315FCA |
|---|---|
| RGB | rgb(49, 95, 202) |
| HSL | hsl(222, 61%, 49%) |
| HSV | hsv(222, 76%, 79%) |
| CMYK | cmyk(75.7%, 53%, 0%, 20.8%) |
| CIE-LAB | lab(42.91, 22.23, -60.13) |
| CIE-LCH | lch(42.91, 64.11, 290.29°) |
| OKLab | oklab(51.57% -0.0188 -0.1732) |
| OKLCH | oklch(51.57% 0.174 263.8) |
| XYZ | xyz(16.0157, 13.0999, 57.5501) |
| Luminance | 0.1310 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.72
Azul
#1D5DEC
ΔE00 4.06
Royal Blue
#4169E1
ΔE00 4.85
Sapphire
#0F52BA
ΔE00 4.98
French Blue
#436BAD
ΔE00 5.27
Warm Blue
#4B57DB
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315FCA #CA9C31
analogous
#31ACCA #315FCA #5031CA
triadic
#315FCA #CA315F #5FCA31
tetradic
#315FCA #CA31AC #CA9C31 #31CA50
square
#315FCA #CA31AC #CA9C31 #31CA50
split-complementary
#315FCA #CA5031 #ACCA31
monochromatic
#193167 #254899 #315FCA #6084D8 #91AAE4
Accessibility & contrast
On white
5.80
#315FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#315FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315FCA
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315FCA | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D6DCE
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #315fca; /* rgb */ color: rgb(49, 95, 202); /* oklch */ color: oklch(51.6% 0.174 263.8);
Tailwind
colors: {
custom: {
50: '#7f8bdb',
500: '#315fca',
950: '#000000',
},
}SCSS
$custom: #315fca; $custom-light: #7f8bdb; $custom-dark: #000000;
JSON
{
"hex": "#315fca",
"rgb": {
"r": 49,
"g": 95,
"b": 202
},
"hsl": {
"h": 221.961,
"s": 60.956,
"l": 49.216
},
"oklch": {
"l": 0.51572,
"c": 0.17422,
"h": 263.8
},
"luminance": 0.13102
}Semantic roles & 50–950 ramp
primary
#315FCA
secondary
#CFBA88
accent
#B444E4
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83