#315FB3#315FB3
#315FB3 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 49.9% C 0.143 H 261.3°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #315FB3 |
|---|---|
| RGB | rgb(49, 95, 179) |
| HSL | hsl(219, 57%, 45%) |
| HSV | hsv(219, 73%, 70%) |
| CMYK | cmyk(72.6%, 46.9%, 0%, 29.8%) |
| CIE-LAB | lab(41.36, 13.59, -49.26) |
| CIE-LCH | lch(41.36, 51.10, 285.42°) |
| OKLab | oklab(49.89% -0.0217 -0.1412) |
| OKLCH | oklch(49.89% 0.143 261.3) |
| XYZ | xyz(13.4926, 12.0906, 44.2617) |
| Luminance | 0.1209 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.28
French Blue
#436BAD
ΔE00 4.21
Denim Blue
#3B5B92
ΔE00 4.35
Sapphire
#0F52BA
ΔE00 4.42
Mid Blue
#276AB3
ΔE00 4.85
Denim (survey)
#3B638C
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315FB3 #B38531
analogous
#31A0B3 #315FB3 #4431B3
triadic
#315FB3 #B3315F #5FB331
tetradic
#315FB3 #B331A0 #B38531 #31B344
square
#315FB3 #B331A0 #B38531 #31B344
split-complementary
#315FB3 #B34431 #A0B331
monochromatic
#172C53 #244683 #315FB3 #527ED0 #82A2DD
Accessibility & contrast
On white
6.14
#315FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#315FB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315FB3
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315FB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315FB3 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3368B6
Deuteranopia (green-blind)
#145CB1
Tritanopia (blue-blind)
#007380
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #315fb3; /* rgb */ color: rgb(49, 95, 179); /* oklch */ color: oklch(49.9% 0.143 261.3);
Tailwind
colors: {
custom: {
50: '#7a8bca',
500: '#315fb3',
950: '#000000',
},
}SCSS
$custom: #315fb3; $custom-light: #7a8bca; $custom-dark: #000000;
JSON
{
"hex": "#315fb3",
"rgb": {
"r": 49,
"g": 95,
"b": 179
},
"hsl": {
"h": 218.769,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.49891,
"c": 0.14288,
"h": 261.3
},
"luminance": 0.12092
}Semantic roles & 50–950 ramp
primary
#315FB3
secondary
#C6AB7A
accent
#AA48E0
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0C13
muted
#7C7D82