#315BBA#315BBA
#315BBA is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.5% C 0.157 H 263.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #315BBA |
|---|---|
| RGB | rgb(49, 91, 186) |
| HSL | hsl(222, 58%, 46%) |
| HSV | hsv(222, 74%, 73%) |
| CMYK | cmyk(73.7%, 51.1%, 0%, 27.1%) |
| CIE-LAB | lab(40.70, 18.82, -54.42) |
| CIE-LCH | lch(40.70, 57.58, 289.08°) |
| OKLab | oklab(49.54% -0.0173 -0.1565) |
| OKLCH | oklch(49.54% 0.157 263.7) |
| XYZ | xyz(13.8675, 11.6788, 47.9682) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.26
Denim
#1560BD
ΔE00 3.47
Denim Blue
#3B5B92
ΔE00 5.05
French Blue
#436BAD
ΔE00 5.66
Dusky Blue
#475F94
ΔE00 5.72
Azul
#1D5DEC
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315BBA #BA9031
analogous
#319FBA #315BBA #4B31BA
triadic
#315BBA #BA315B #5BBA31
tetradic
#315BBA #BA319F #BA9031 #31BA4B
square
#315BBA #BA319F #BA9031 #31BA4B
split-complementary
#315BBA #BA4B31 #9FBA31
monochromatic
#172C59 #24438A #315BBA #567CD2 #86A1DF
Accessibility & contrast
On white
6.29
#315BBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#315BBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315BBA
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315BBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315BBA | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2067BD
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #315bba; /* rgb */ color: rgb(49, 91, 186); /* oklch */ color: oklch(49.5% 0.157 263.7);
Tailwind
colors: {
custom: {
50: '#7b88cf',
500: '#315bba',
950: '#000000',
},
}SCSS
$custom: #315bba; $custom-light: #7b88cf; $custom-dark: #000000;
JSON
{
"hex": "#315bba",
"rgb": {
"r": 49,
"g": 91,
"b": 186
},
"hsl": {
"h": 221.606,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.49535,
"c": 0.15743,
"h": 263.7
},
"luminance": 0.1168
}Semantic roles & 50–950 ramp
primary
#315BBA
secondary
#C9B27E
accent
#B246E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82