#315CAB#315CAB
#315CAB is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.135 H 261.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #315CAB |
|---|---|
| RGB | rgb(49, 92, 171) |
| HSL | hsl(219, 55%, 43%) |
| HSV | hsv(219, 71%, 67%) |
| CMYK | cmyk(71.3%, 46.2%, 0%, 32.9%) |
| CIE-LAB | lab(39.99, 12.53, -46.74) |
| CIE-LCH | lch(39.99, 48.39, 285.00°) |
| OKLab | oklab(48.68% -0.0203 -0.1339) |
| OKLCH | oklch(48.68% 0.135 261.4) |
| XYZ | xyz(12.4418, 11.2462, 40.0352) |
| Luminance | 0.1125 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.14
Denim Blue
#3B5B92
ΔE00 3.29
Sapphire
#0F52BA
ΔE00 3.85
Dusky Blue
#475F94
ΔE00 4.44
Light Navy Blue
#2E5A88
ΔE00 4.70
Denim (survey)
#3B638C
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315CAB #AB8031
analogous
#3199AB #315CAB #4331AB
triadic
#315CAB #AB315C #5CAB31
tetradic
#315CAB #AB3199 #AB8031 #31AB43
square
#315CAB #AB3199 #AB8031 #31AB43
split-complementary
#315CAB #AB4331 #99AB31
monochromatic
#16294C #23427B #315CAB #4D7ACC #7D9DDA
Accessibility & contrast
On white
6.46
#315CAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#315CAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315CAB
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315CAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315CAB | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3464AE
Deuteranopia (green-blind)
#1A59A9
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #315cab; /* rgb */ color: rgb(49, 92, 171); /* oklch */ color: oklch(48.7% 0.135 261.4);
Tailwind
colors: {
custom: {
50: '#7889c4',
500: '#315cab',
950: '#000000',
},
}SCSS
$custom: #315cab; $custom-light: #7889c4; $custom-dark: #000000;
JSON
{
"hex": "#315cab",
"rgb": {
"r": 49,
"g": 92,
"b": 171
},
"hsl": {
"h": 218.852,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.48675,
"c": 0.1354,
"h": 261.4
},
"luminance": 0.11248
}Semantic roles & 50–950 ramp
primary
#315CAB
secondary
#C2A775
accent
#AA49DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82