#315EAB#315EAB
#315EAB is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.1% C 0.133 H 260.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #315EAB |
|---|---|
| RGB | rgb(49, 94, 171) |
| HSL | hsl(218, 55%, 43%) |
| HSV | hsv(218, 71%, 67%) |
| CMYK | cmyk(71.3%, 45%, 0%, 32.9%) |
| CIE-LAB | lab(40.57, 11.23, -45.82) |
| CIE-LCH | lch(40.57, 47.18, 283.77°) |
| OKLab | oklab(49.12% -0.0222 -0.1311) |
| OKLCH | oklch(49.12% 0.133 260.4) |
| XYZ | xyz(12.6174, 11.5973, 40.0937) |
| Luminance | 0.1160 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.68
Denim Blue
#3B5B92
ΔE00 3.44
Denim (survey)
#3B638C
ΔE00 4.40
Sapphire
#0F52BA
ΔE00 4.41
Dusky Blue
#475F94
ΔE00 4.48
French Blue
#436BAD
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315EAB #AB7E31
analogous
#319BAB #315EAB #4131AB
triadic
#315EAB #AB315E #5EAB31
tetradic
#315EAB #AB319B #AB7E31 #31AB41
square
#315EAB #AB319B #AB7E31 #31AB41
split-complementary
#315EAB #AB4131 #9BAB31
monochromatic
#162A4C #23447B #315EAB #4D7CCC #7D9FDA
Accessibility & contrast
On white
6.33
#315EAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#315EAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315EAB
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315EAB | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3866AE
Deuteranopia (green-blind)
#205AA9
Tritanopia (blue-blind)
#00707C
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #315eab; /* rgb */ color: rgb(49, 94, 171); /* oklch */ color: oklch(49.1% 0.133 260.4);
Tailwind
colors: {
custom: {
50: '#788bc4',
500: '#315eab',
950: '#000000',
},
}SCSS
$custom: #315eab; $custom-light: #788bc4; $custom-dark: #000000;
JSON
{
"hex": "#315eab",
"rgb": {
"r": 49,
"g": 94,
"b": 171
},
"hsl": {
"h": 217.869,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.4912,
"c": 0.13298,
"h": 260.4
},
"luminance": 0.11599
}Semantic roles & 50–950 ramp
primary
#315EAB
secondary
#C2A675
accent
#A849DF
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82