#315FC0#315FC0
#315FC0 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.161 H 262.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #315FC0 |
|---|---|
| RGB | rgb(49, 95, 192) |
| HSL | hsl(221, 59%, 47%) |
| HSV | hsv(221, 74%, 75%) |
| CMYK | cmyk(74.5%, 50.5%, 0%, 24.7%) |
| CIE-LAB | lab(42.22, 18.48, -55.47) |
| CIE-LCH | lch(42.22, 58.46, 288.42°) |
| OKLab | oklab(50.82% -0.0198 -0.1595) |
| OKLCH | oklch(50.82% 0.161 262.9) |
| XYZ | xyz(14.8699, 12.6415, 51.5153) |
| Luminance | 0.1264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.81
Sapphire
#0F52BA
ΔE00 4.47
French Blue
#436BAD
ΔE00 4.64
Azul
#1D5DEC
ΔE00 5.35
Mid Blue
#276AB3
ΔE00 5.51
Denim Blue
#3B5B92
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315FC0 #C09231
analogous
#31A7C0 #315FC0 #4A31C0
triadic
#315FC0 #C0315F #5FC031
tetradic
#315FC0 #C031A7 #C09231 #31C04A
square
#315FC0 #C031A7 #C09231 #31C04A
split-complementary
#315FC0 #C04A31 #A7C031
monochromatic
#182F5E #25478F #315FC0 #5981D5 #8AA6E1
Accessibility & contrast
On white
5.95
#315FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#315FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315FC0
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315FC0 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#236BC4
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#007686
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #315fc0; /* rgb */ color: rgb(49, 95, 192); /* oklch */ color: oklch(50.8% 0.161 262.9);
Tailwind
colors: {
custom: {
50: '#7d8bd4',
500: '#315fc0',
950: '#000000',
},
}SCSS
$custom: #315fc0; $custom-light: #7d8bd4; $custom-dark: #000000;
JSON
{
"hex": "#315fc0",
"rgb": {
"r": 49,
"g": 95,
"b": 192
},
"hsl": {
"h": 220.699,
"s": 59.336,
"l": 47.255
},
"oklch": {
"l": 0.50822,
"c": 0.16072,
"h": 262.9
},
"luminance": 0.12643
}Semantic roles & 50–950 ramp
primary
#315FC0
secondary
#CBB482
accent
#B045E3
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83