#315AB8#315AB8
#315AB8 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.2% C 0.156 H 263.9°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #315AB8 |
|---|---|
| RGB | rgb(49, 90, 184) |
| HSL | hsl(222, 58%, 46%) |
| HSV | hsv(222, 73%, 72%) |
| CMYK | cmyk(73.4%, 51.1%, 0%, 27.8%) |
| CIE-LAB | lab(40.29, 18.72, -53.92) |
| CIE-LCH | lch(40.29, 57.08, 289.15°) |
| OKLab | oklab(49.18% -0.0167 -0.155) |
| OKLCH | oklch(49.18% 0.156 263.9) |
| XYZ | xyz(13.5714, 11.4245, 46.8280) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.00
Denim
#1560BD
ΔE00 3.70
Denim Blue
#3B5B92
ΔE00 4.85
Dusky Blue
#475F94
ΔE00 5.61
French Blue
#436BAD
ΔE00 5.93
Denim (survey)
#3B638C
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315AB8 #B88F31
analogous
#319DB8 #315AB8 #4B31B8
triadic
#315AB8 #B8315A #5AB831
tetradic
#315AB8 #B8319D #B88F31 #31B84B
square
#315AB8 #B8319D #B88F31 #31B84B
split-complementary
#315AB8 #B84B31 #9DB831
monochromatic
#172B57 #244288 #315AB8 #557BD2 #85A0DE
Accessibility & contrast
On white
6.39
#315AB8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#315AB8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315AB8
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315AB8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315AB8 | 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)
#2065BB
Deuteranopia (green-blind)
#0059B6
Tritanopia (blue-blind)
#007080
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #315ab8; /* rgb */ color: rgb(49, 90, 184); /* oklch */ color: oklch(49.2% 0.156 263.9);
Tailwind
colors: {
custom: {
50: '#7b88ce',
500: '#315ab8',
950: '#000000',
},
}SCSS
$custom: #315ab8; $custom-light: #7b88ce; $custom-dark: #000000;
JSON
{
"hex": "#315ab8",
"rgb": {
"r": 49,
"g": 90,
"b": 184
},
"hsl": {
"h": 221.778,
"s": 57.94,
"l": 45.686
},
"oklch": {
"l": 0.49176,
"c": 0.15592,
"h": 263.9
},
"luminance": 0.11426
}Semantic roles & 50–950 ramp
primary
#315AB8
secondary
#C8B17D
accent
#B247E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82