#315AB7#315AB7
#315AB7 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.1% C 0.155 H 263.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #315AB7 |
|---|---|
| RGB | rgb(49, 90, 183) |
| HSL | hsl(222, 58%, 45%) |
| HSV | hsv(222, 73%, 72%) |
| CMYK | cmyk(73.2%, 50.8%, 0%, 28.2%) |
| CIE-LAB | lab(40.22, 18.35, -53.45) |
| CIE-LCH | lch(40.22, 56.51, 288.95°) |
| OKLab | oklab(49.1% -0.0168 -0.1536) |
| OKLCH | oklch(49.1% 0.155 263.8) |
| XYZ | xyz(13.4670, 11.3827, 46.2779) |
| Luminance | 0.1138 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.00
Denim
#1560BD
ΔE00 3.67
Denim Blue
#3B5B92
ΔE00 4.73
Dusky Blue
#475F94
ΔE00 5.52
French Blue
#436BAD
ΔE00 5.91
Dusk Blue
#26538D
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315AB7 #B78E31
analogous
#319DB7 #315AB7 #4B31B7
triadic
#315AB7 #B7315A #5AB731
tetradic
#315AB7 #B7319D #B78E31 #31B74B
square
#315AB7 #B7319D #B78E31 #31B74B
split-complementary
#315AB7 #B74B31 #9DB731
monochromatic
#172B56 #244287 #315AB7 #547AD1 #84A0DE
Accessibility & contrast
On white
6.41
#315AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#315AB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315AB7
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315AB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315AB7 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2165BA
Deuteranopia (green-blind)
#0059B5
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #315ab7; /* rgb */ color: rgb(49, 90, 183); /* oklch */ color: oklch(49.1% 0.155 263.8);
Tailwind
colors: {
custom: {
50: '#7b88cd',
500: '#315ab7',
950: '#000000',
},
}SCSS
$custom: #315ab7; $custom-light: #7b88cd; $custom-dark: #000000;
JSON
{
"hex": "#315ab7",
"rgb": {
"r": 49,
"g": 90,
"b": 183
},
"hsl": {
"h": 221.642,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.49102,
"c": 0.15454,
"h": 263.8
},
"luminance": 0.11384
}Semantic roles & 50–950 ramp
primary
#315AB7
secondary
#C8B17C
accent
#B247E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82