#315EAA#315EAA
#315EAA is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.1% C 0.132 H 260.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #315EAA |
|---|---|
| RGB | rgb(49, 94, 170) |
| HSL | hsl(218, 55%, 43%) |
| HSV | hsv(218, 71%, 67%) |
| CMYK | cmyk(71.2%, 44.7%, 0%, 33.3%) |
| CIE-LAB | lab(40.51, 10.86, -45.33) |
| CIE-LCH | lch(40.51, 46.61, 283.47°) |
| OKLab | oklab(49.05% -0.0224 -0.1297) |
| OKLCH | oklch(49.05% 0.132 260.2) |
| XYZ | xyz(12.5224, 11.5593, 39.5936) |
| Luminance | 0.1156 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.73
Denim Blue
#3B5B92
ΔE00 3.35
Denim (survey)
#3B638C
ΔE00 4.31
Dusky Blue
#475F94
ΔE00 4.43
Sapphire
#0F52BA
ΔE00 4.46
French Blue
#436BAD
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315EAA #AA7D31
analogous
#319AAA #315EAA #4031AA
triadic
#315EAA #AA315E #5EAA31
tetradic
#315EAA #AA319A #AA7D31 #31AA40
square
#315EAA #AA319A #AA7D31 #31AA40
split-complementary
#315EAA #AA4031 #9AAA31
monochromatic
#16294B #23447A #315EAA #4D7CCC #7C9FD9
Accessibility & contrast
On white
6.34
#315EAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#315EAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315EAA
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315EAA | 1.00 | 6.34 | 3.31 | 6.34 |
| #FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#225AA8
Tritanopia (blue-blind)
#00707B
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #315eaa; /* rgb */ color: rgb(49, 94, 170); /* oklch */ color: oklch(49.1% 0.132 260.2);
Tailwind
colors: {
custom: {
50: '#788bc4',
500: '#315eaa',
950: '#000000',
},
}SCSS
$custom: #315eaa; $custom-light: #788bc4; $custom-dark: #000000;
JSON
{
"hex": "#315eaa",
"rgb": {
"r": 49,
"g": 94,
"b": 170
},
"hsl": {
"h": 217.686,
"s": 55.251,
"l": 42.941
},
"oklch": {
"l": 0.49052,
"c": 0.13158,
"h": 260.2
},
"luminance": 0.11561
}Semantic roles & 50–950 ramp
primary
#315EAA
secondary
#C2A575
accent
#A749DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82