#315CBB#315CBB
#315CBB is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.8% C 0.158 H 263.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #315CBB |
|---|---|
| RGB | rgb(49, 92, 187) |
| HSL | hsl(221, 58%, 46%) |
| HSV | hsv(221, 74%, 73%) |
| CMYK | cmyk(73.8%, 50.8%, 0%, 26.7%) |
| CIE-LAB | lab(41.05, 18.55, -54.45) |
| CIE-LCH | lch(41.05, 57.52, 288.81°) |
| OKLab | oklab(49.82% -0.018 -0.1565) |
| OKLCH | oklch(49.82% 0.158 263.4) |
| XYZ | xyz(14.0602, 11.8936, 48.5588) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.22
Sapphire
#0F52BA
ΔE00 3.53
Denim Blue
#3B5B92
ΔE00 5.15
French Blue
#436BAD
ΔE00 5.37
Dusky Blue
#475F94
ΔE00 5.76
Azul
#1D5DEC
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315CBB #BB9031
analogous
#31A1BB #315CBB #4B31BB
triadic
#315CBB #BB315C #5CBB31
tetradic
#315CBB #BB31A1 #BB9031 #31BB4B
square
#315CBB #BB31A1 #BB9031 #31BB4B
split-complementary
#315CBB #BB4B31 #A1BB31
monochromatic
#182C5A #24448B #315CBB #567DD3 #87A3E0
Accessibility & contrast
On white
6.21
#315CBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#315CBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315CBB
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315CBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315CBB | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2167BE
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#007383
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #315cbb; /* rgb */ color: rgb(49, 92, 187); /* oklch */ color: oklch(49.8% 0.158 263.4);
Tailwind
colors: {
custom: {
50: '#7c89d0',
500: '#315cbb',
950: '#000000',
},
}SCSS
$custom: #315cbb; $custom-light: #7c89d0; $custom-dark: #000000;
JSON
{
"hex": "#315cbb",
"rgb": {
"r": 49,
"g": 92,
"b": 187
},
"hsl": {
"h": 221.304,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.4982,
"c": 0.15757,
"h": 263.4
},
"luminance": 0.11895
}Semantic roles & 50–950 ramp
primary
#315CBB
secondary
#C9B27F
accent
#B146E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82