#315EA8#315EA8
#315EA8 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 48.9% C 0.129 H 259.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #315EA8 |
|---|---|
| RGB | rgb(49, 94, 168) |
| HSL | hsl(217, 55%, 43%) |
| HSV | hsv(217, 71%, 66%) |
| CMYK | cmyk(70.8%, 44%, 0%, 34.1%) |
| CIE-LAB | lab(40.38, 10.11, -44.34) |
| CIE-LCH | lch(40.38, 45.48, 282.84°) |
| OKLab | oklab(48.92% -0.0227 -0.1268) |
| OKLCH | oklch(48.92% 0.129 259.8) |
| XYZ | xyz(12.3347, 11.4842, 38.6048) |
| Luminance | 0.1149 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.84
Denim Blue
#3B5B92
ΔE00 3.17
Denim (survey)
#3B638C
ΔE00 4.15
Dusky Blue
#475F94
ΔE00 4.33
Light Navy Blue
#2E5A88
ΔE00 4.34
Sapphire
#0F52BA
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315EA8 #A87B31
analogous
#319AA8 #315EA8 #3F31A8
triadic
#315EA8 #A8315E #5EA831
tetradic
#315EA8 #A8319A #A87B31 #31A83F
square
#315EA8 #A8319A #A87B31 #31A83F
split-complementary
#315EA8 #A83F31 #9AA831
monochromatic
#152949 #234379 #315EA8 #4C7CCB #7B9ED8
Accessibility & contrast
On white
6.37
#315EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#315EA8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315EA8
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315EA8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315EA8 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A65AB
Deuteranopia (green-blind)
#255AA6
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #315ea8; /* rgb */ color: rgb(49, 94, 168); /* oklch */ color: oklch(48.9% 0.129 259.8);
Tailwind
colors: {
custom: {
50: '#788bc2',
500: '#315ea8',
950: '#000000',
},
}SCSS
$custom: #315ea8; $custom-light: #788bc2; $custom-dark: #000000;
JSON
{
"hex": "#315ea8",
"rgb": {
"r": 49,
"g": 94,
"b": 168
},
"hsl": {
"h": 217.311,
"s": 54.839,
"l": 42.549
},
"oklch": {
"l": 0.48918,
"c": 0.1288,
"h": 259.8
},
"luminance": 0.11486
}Semantic roles & 50–950 ramp
primary
#315EA8
secondary
#C1A474
accent
#A64ADE
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B12
muted
#7C7C81