#315AB3#315AB3
#315AB3 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.149 H 263.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #315AB3 |
|---|---|
| RGB | rgb(49, 90, 179) |
| HSL | hsl(221, 57%, 45%) |
| HSV | hsv(221, 73%, 70%) |
| CMYK | cmyk(72.6%, 49.7%, 0%, 29.8%) |
| CIE-LAB | lab(39.95, 16.84, -51.53) |
| CIE-LCH | lch(39.95, 54.22, 288.10°) |
| OKLab | oklab(48.81% -0.0173 -0.148) |
| OKLCH | oklch(48.81% 0.149 263.3) |
| XYZ | xyz(13.0566, 11.2186, 44.1164) |
| Luminance | 0.1122 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.03
Denim
#1560BD
ΔE00 3.61
Denim Blue
#3B5B92
ΔE00 4.24
Dusky Blue
#475F94
ΔE00 5.16
Dusk Blue
#26538D
ΔE00 5.57
Light Navy Blue
#2E5A88
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315AB3 #B38A31
analogous
#319BB3 #315AB3 #4931B3
triadic
#315AB3 #B3315A #5AB331
tetradic
#315AB3 #B3319B #B38A31 #31B349
square
#315AB3 #B3319B #B38A31 #31B349
split-complementary
#315AB3 #B34931 #9BB331
monochromatic
#172A53 #244283 #315AB3 #5279D0 #829EDD
Accessibility & contrast
On white
6.47
#315AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#315AB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315AB3
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315AB3 | 1.00 | 6.47 | 3.24 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2764B6
Deuteranopia (green-blind)
#0058B1
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #315ab3; /* rgb */ color: rgb(49, 90, 179); /* oklch */ color: oklch(48.8% 0.149 263.3);
Tailwind
colors: {
custom: {
50: '#7a88ca',
500: '#315ab3',
950: '#000000',
},
}SCSS
$custom: #315ab3; $custom-light: #7a88ca; $custom-dark: #000000;
JSON
{
"hex": "#315ab3",
"rgb": {
"r": 49,
"g": 90,
"b": 179
},
"hsl": {
"h": 221.077,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.48808,
"c": 0.14901,
"h": 263.3
},
"luminance": 0.1122
}Semantic roles & 50–950 ramp
primary
#315AB3
secondary
#C6AE7A
accent
#B048E0
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0B13
muted
#7C7C82