#315CC3#315CC3
#315CC3 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.4% C 0.168 H 264.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #315CC3 |
|---|---|
| RGB | rgb(49, 92, 195) |
| HSL | hsl(222, 60%, 48%) |
| HSV | hsv(222, 75%, 76%) |
| CMYK | cmyk(74.9%, 52.8%, 0%, 23.5%) |
| CIE-LAB | lab(41.60, 21.55, -58.20) |
| CIE-LCH | lch(41.60, 62.06, 290.32°) |
| OKLab | oklab(50.42% -0.0171 -0.1676) |
| OKLCH | oklch(50.42% 0.168 264.2) |
| XYZ | xyz(14.9406, 12.2457, 53.1954) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.72
Sapphire
#0F52BA
ΔE00 3.86
Azul
#1D5DEC
ΔE00 4.92
French Blue
#436BAD
ΔE00 5.72
Warm Blue
#4B57DB
ΔE00 5.87
Royal Blue
#4169E1
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315CC3 #C39831
analogous
#31A5C3 #315CC3 #4F31C3
triadic
#315CC3 #C3315C #5CC331
tetradic
#315CC3 #C331A5 #C39831 #31C34F
square
#315CC3 #C331A5 #C39831 #31C34F
split-complementary
#315CC3 #C34F31 #A5C331
monochromatic
#182E61 #254592 #315CC3 #5B7FD6 #8CA6E2
Accessibility & contrast
On white
6.09
#315CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#315CC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315CC3
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315CC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315CC3 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1169C7
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #315cc3; /* rgb */ color: rgb(49, 92, 195); /* oklch */ color: oklch(50.4% 0.168 264.2);
Tailwind
colors: {
custom: {
50: '#7d89d6',
500: '#315cc3',
950: '#000000',
},
}SCSS
$custom: #315cc3; $custom-light: #7d89d6; $custom-dark: #000000;
JSON
{
"hex": "#315cc3",
"rgb": {
"r": 49,
"g": 92,
"b": 195
},
"hsl": {
"h": 222.329,
"s": 59.836,
"l": 47.843
},
"oklch": {
"l": 0.50421,
"c": 0.16846,
"h": 264.2
},
"luminance": 0.12247
}Semantic roles & 50–950 ramp
primary
#315CC3
secondary
#CCB783
accent
#B445E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83