#315AB2#315AB2
#315AB2 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.148 H 263.2°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #315AB2 |
|---|---|
| RGB | rgb(49, 90, 178) |
| HSL | hsl(221, 57%, 45%) |
| HSV | hsv(221, 72%, 70%) |
| CMYK | cmyk(72.5%, 49.4%, 0%, 30.2%) |
| CIE-LAB | lab(39.88, 16.46, -51.05) |
| CIE-LCH | lch(39.88, 53.64, 287.87°) |
| OKLab | oklab(48.74% -0.0174 -0.1466) |
| OKLCH | oklch(48.74% 0.148 263.2) |
| XYZ | xyz(12.9558, 11.1783, 43.5857) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.05
Denim
#1560BD
ΔE00 3.60
Denim Blue
#3B5B92
ΔE00 4.12
Dusky Blue
#475F94
ΔE00 5.07
Dusk Blue
#26538D
ΔE00 5.45
Light Navy Blue
#2E5A88
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315AB2 #B28931
analogous
#319BB2 #315AB2 #4831B2
triadic
#315AB2 #B2315A #5AB231
tetradic
#315AB2 #B2319B #B28931 #31B248
square
#315AB2 #B2319B #B28931 #31B248
split-complementary
#315AB2 #B24831 #9BB231
monochromatic
#172952 #244282 #315AB2 #5179CF #819EDC
Accessibility & contrast
On white
6.49
#315AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#315AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315AB2
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315AB2 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2864B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #315ab2; /* rgb */ color: rgb(49, 90, 178); /* oklch */ color: oklch(48.7% 0.148 263.2);
Tailwind
colors: {
custom: {
50: '#7a88ca',
500: '#315ab2',
950: '#000000',
},
}SCSS
$custom: #315ab2; $custom-light: #7a88ca; $custom-dark: #000000;
JSON
{
"hex": "#315ab2",
"rgb": {
"r": 49,
"g": 90,
"b": 178
},
"hsl": {
"h": 220.93,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.48735,
"c": 0.14762,
"h": 263.2
},
"luminance": 0.1118
}Semantic roles & 50–950 ramp
primary
#315AB2
secondary
#C5AD79
accent
#B048E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82