#315BB2#315BB2
#315BB2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.146 H 262.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #315BB2 |
|---|---|
| RGB | rgb(49, 91, 178) |
| HSL | hsl(220, 57%, 45%) |
| HSV | hsv(220, 72%, 70%) |
| CMYK | cmyk(72.5%, 48.9%, 0%, 30.2%) |
| CIE-LAB | lab(40.16, 15.81, -50.60) |
| CIE-LCH | lch(40.16, 53.01, 287.35°) |
| OKLab | oklab(48.95% -0.0183 -0.1452) |
| OKLCH | oklch(48.95% 0.146 262.8) |
| XYZ | xyz(13.0407, 11.3481, 43.6140) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.29
Denim
#1560BD
ΔE00 3.30
Denim Blue
#3B5B92
ΔE00 4.08
Dusky Blue
#475F94
ΔE00 5.00
Denim (survey)
#3B638C
ΔE00 5.48
French Blue
#436BAD
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315BB2 #B28831
analogous
#319CB2 #315BB2 #4831B2
triadic
#315BB2 #B2315B #5BB231
tetradic
#315BB2 #B2319C #B28831 #31B248
square
#315BB2 #B2319C #B28831 #31B248
split-complementary
#315BB2 #B24831 #9CB231
monochromatic
#172A52 #244282 #315BB2 #517ACF #819FDC
Accessibility & contrast
On white
6.42
#315BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#315BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315BB2
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315BB2 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A65B5
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #315bb2; /* rgb */ color: rgb(49, 91, 178); /* oklch */ color: oklch(48.9% 0.146 262.8);
Tailwind
colors: {
custom: {
50: '#7a88ca',
500: '#315bb2',
950: '#000000',
},
}SCSS
$custom: #315bb2; $custom-light: #7a88ca; $custom-dark: #000000;
JSON
{
"hex": "#315bb2",
"rgb": {
"r": 49,
"g": 91,
"b": 178
},
"hsl": {
"h": 220.465,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.4895,
"c": 0.14639,
"h": 262.8
},
"luminance": 0.11349
}Semantic roles & 50–950 ramp
primary
#315BB2
secondary
#C5AD79
accent
#AE48E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82