#315BB4#315BB4
#315BB4 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.1% C 0.149 H 263.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #315BB4 |
|---|---|
| RGB | rgb(49, 91, 180) |
| HSL | hsl(221, 57%, 45%) |
| HSV | hsv(221, 73%, 71%) |
| CMYK | cmyk(72.8%, 49.4%, 0%, 29.4%) |
| CIE-LAB | lab(40.29, 16.56, -51.56) |
| CIE-LCH | lch(40.29, 54.16, 287.81°) |
| OKLab | oklab(49.1% -0.018 -0.1481) |
| OKLCH | oklch(49.1% 0.149 263.1) |
| XYZ | xyz(13.2430, 11.4290, 44.6793) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.25
Denim
#1560BD
ΔE00 3.32
Denim Blue
#3B5B92
ΔE00 4.32
Dusky Blue
#475F94
ΔE00 5.17
French Blue
#436BAD
ΔE00 5.51
Denim (survey)
#3B638C
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315BB4 #B48A31
analogous
#319DB4 #315BB4 #4831B4
triadic
#315BB4 #B4315B #5BB431
tetradic
#315BB4 #B4319D #B48A31 #31B448
square
#315BB4 #B4319D #B48A31 #31B448
split-complementary
#315BB4 #B44831 #9DB431
monochromatic
#172A54 #244384 #315BB4 #527BD0 #829FDD
Accessibility & contrast
On white
6.39
#315BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#315BB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315BB4
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315BB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315BB4 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2865B7
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #315bb4; /* rgb */ color: rgb(49, 91, 180); /* oklch */ color: oklch(49.1% 0.149 263.1);
Tailwind
colors: {
custom: {
50: '#7a88cb',
500: '#315bb4',
950: '#000000',
},
}SCSS
$custom: #315bb4; $custom-light: #7a88cb; $custom-dark: #000000;
JSON
{
"hex": "#315bb4",
"rgb": {
"r": 49,
"g": 91,
"b": 180
},
"hsl": {
"h": 220.763,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.49095,
"c": 0.14916,
"h": 263.1
},
"luminance": 0.1143
}Semantic roles & 50–950 ramp
primary
#315BB4
secondary
#C6AE7B
accent
#AF47E0
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82