#315EA2#315EA2
#315EA2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.5% C 0.120 H 258.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #315EA2 |
|---|---|
| RGB | rgb(49, 94, 162) |
| HSL | hsl(216, 54%, 41%) |
| HSV | hsv(216, 70%, 64%) |
| CMYK | cmyk(69.8%, 42%, 0%, 36.5%) |
| CIE-LAB | lab(40.02, 7.87, -41.35) |
| CIE-LCH | lch(40.02, 42.10, 280.77°) |
| OKLab | oklab(48.52% -0.024 -0.118) |
| OKLCH | oklch(48.52% 0.12 258.5) |
| XYZ | xyz(11.7886, 11.2658, 35.7287) |
| Luminance | 0.1127 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.72
Denim
#1560BD
ΔE00 3.24
Denim (survey)
#3B638C
ΔE00 3.66
Light Navy Blue
#2E5A88
ΔE00 3.67
Dusky Blue
#475F94
ΔE00 4.13
Dusk Blue
#26538D
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315EA2 #A27531
analogous
#3197A2 #315EA2 #3C31A2
triadic
#315EA2 #A2315E #5EA231
tetradic
#315EA2 #A23197 #A27531 #31A23C
square
#315EA2 #A23197 #A27531 #31A23C
split-complementary
#315EA2 #A23C31 #97A231
monochromatic
#152744 #234373 #315EA2 #487BC8 #779DD6
Accessibility & contrast
On white
6.45
#315EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#315EA2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315EA2
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315EA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315EA2 | 1.00 | 6.45 | 3.25 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E64A5
Deuteranopia (green-blind)
#2C59A1
Tritanopia (blue-blind)
#006E78
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #315ea2; /* rgb */ color: rgb(49, 94, 162); /* oklch */ color: oklch(48.5% 0.120 258.5);
Tailwind
colors: {
custom: {
50: '#768bbe',
500: '#315ea2',
950: '#000000',
},
}SCSS
$custom: #315ea2; $custom-light: #768bbe; $custom-dark: #000000;
JSON
{
"hex": "#315ea2",
"rgb": {
"r": 49,
"g": 94,
"b": 162
},
"hsl": {
"h": 216.106,
"s": 53.555,
"l": 41.373
},
"oklch": {
"l": 0.48523,
"c": 0.12041,
"h": 258.5
},
"luminance": 0.11267
}Semantic roles & 50–950 ramp
primary
#315EA2
secondary
#BE9F71
accent
#A34BDD
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81