#315AAA#315AAA
#315AAA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.136 H 262.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #315AAA |
|---|---|
| RGB | rgb(49, 90, 170) |
| HSL | hsl(220, 55%, 43%) |
| HSV | hsv(220, 71%, 67%) |
| CMYK | cmyk(71.2%, 47.1%, 0%, 33.3%) |
| CIE-LAB | lab(39.35, 13.46, -47.18) |
| CIE-LCH | lch(39.35, 49.06, 285.92°) |
| OKLab | oklab(48.17% -0.0186 -0.1352) |
| OKLCH | oklch(48.17% 0.136 262.2) |
| XYZ | xyz(12.1759, 10.8663, 39.4781) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.18
Sapphire
#0F52BA
ΔE00 3.43
Denim
#1560BD
ΔE00 3.72
Dusky Blue
#475F94
ΔE00 4.46
Dusk Blue
#26538D
ΔE00 4.52
Light Navy Blue
#2E5A88
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315AAA #AA8131
analogous
#3197AA #315AAA #4431AA
triadic
#315AAA #AA315A #5AAA31
tetradic
#315AAA #AA3197 #AA8131 #31AA44
square
#315AAA #AA3197 #AA8131 #31AA44
split-complementary
#315AAA #AA4431 #97AA31
monochromatic
#16284B #23417A #315AAA #4D78CC #7C9CD9
Accessibility & contrast
On white
6.62
#315AAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#315AAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315AAA
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315AAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315AAA | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3063AD
Deuteranopia (green-blind)
#1557A8
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #315aaa; /* rgb */ color: rgb(49, 90, 170); /* oklch */ color: oklch(48.2% 0.136 262.2);
Tailwind
colors: {
custom: {
50: '#7888c4',
500: '#315aaa',
950: '#000000',
},
}SCSS
$custom: #315aaa; $custom-light: #7888c4; $custom-dark: #000000;
JSON
{
"hex": "#315aaa",
"rgb": {
"r": 49,
"g": 90,
"b": 170
},
"hsl": {
"h": 219.669,
"s": 55.251,
"l": 42.941
},
"oklch": {
"l": 0.48165,
"c": 0.13646,
"h": 262.2
},
"luminance": 0.10868
}Semantic roles & 50–950 ramp
primary
#315AAA
secondary
#C2A875
accent
#AC49DF
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82