#315CB1#315CB1
#315CB1 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.1% C 0.144 H 262.3°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #315CB1 |
|---|---|
| RGB | rgb(49, 92, 177) |
| HSL | hsl(220, 57%, 44%) |
| HSV | hsv(220, 72%, 69%) |
| CMYK | cmyk(72.3%, 48%, 0%, 30.6%) |
| CIE-LAB | lab(40.38, 14.78, -49.66) |
| CIE-LCH | lch(40.38, 51.82, 286.58°) |
| OKLab | oklab(49.1% -0.0193 -0.1425) |
| OKLCH | oklch(49.1% 0.144 262.3) |
| XYZ | xyz(13.0268, 11.4802, 43.1158) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.02
Sapphire
#0F52BA
ΔE00 3.59
Denim Blue
#3B5B92
ΔE00 3.96
Dusky Blue
#475F94
ΔE00 4.88
French Blue
#436BAD
ΔE00 5.15
Denim (survey)
#3B638C
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315CB1 #B18631
analogous
#319CB1 #315CB1 #4631B1
triadic
#315CB1 #B1315C #5CB131
tetradic
#315CB1 #B1319C #B18631 #31B146
square
#315CB1 #B1319C #B18631 #31B146
split-complementary
#315CB1 #B14631 #9CB131
monochromatic
#162A51 #244381 #315CB1 #517BCF #809FDC
Accessibility & contrast
On white
6.37
#315CB1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#315CB1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315CB1
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315CB1 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E65B4
Deuteranopia (green-blind)
#0A5AAF
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #315cb1; /* rgb */ color: rgb(49, 92, 177); /* oklch */ color: oklch(49.1% 0.144 262.3);
Tailwind
colors: {
custom: {
50: '#7a89c9',
500: '#315cb1',
950: '#000000',
},
}SCSS
$custom: #315cb1; $custom-light: #7a89c9; $custom-dark: #000000;
JSON
{
"hex": "#315cb1",
"rgb": {
"r": 49,
"g": 92,
"b": 177
},
"hsl": {
"h": 219.844,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.49095,
"c": 0.14377,
"h": 262.3
},
"luminance": 0.11482
}Semantic roles & 50–950 ramp
primary
#315CB1
secondary
#C5AB79
accent
#AD48E0
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82