#315BBB#315BBB
#315BBB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.159 H 263.8°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #315BBB |
|---|---|
| RGB | rgb(49, 91, 187) |
| HSL | hsl(222, 58%, 46%) |
| HSV | hsv(222, 74%, 73%) |
| CMYK | cmyk(73.8%, 51.3%, 0%, 26.7%) |
| CIE-LAB | lab(40.77, 19.20, -54.89) |
| CIE-LCH | lch(40.77, 58.15, 289.28°) |
| OKLab | oklab(49.61% -0.0172 -0.1579) |
| OKLCH | oklch(49.61% 0.159 263.8) |
| XYZ | xyz(13.9742, 11.7215, 48.5301) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.28
Denim
#1560BD
ΔE00 3.51
Denim Blue
#3B5B92
ΔE00 5.17
French Blue
#436BAD
ΔE00 5.69
Dusky Blue
#475F94
ΔE00 5.82
Azul
#1D5DEC
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315BBB #BB9131
analogous
#31A0BB #315BBB #4C31BB
triadic
#315BBB #BB315B #5BBB31
tetradic
#315BBB #BB31A0 #BB9131 #31BB4C
square
#315BBB #BB31A0 #BB9131 #31BB4C
split-complementary
#315BBB #BB4C31 #A0BB31
monochromatic
#182C5A #24438B #315BBB #567CD3 #87A2E0
Accessibility & contrast
On white
6.28
#315BBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#315BBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315BBB
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315BBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315BBB | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E67BE
Deuteranopia (green-blind)
#005AB9
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #315bbb; /* rgb */ color: rgb(49, 91, 187); /* oklch */ color: oklch(49.6% 0.159 263.8);
Tailwind
colors: {
custom: {
50: '#7c88d0',
500: '#315bbb',
950: '#000000',
},
}SCSS
$custom: #315bbb; $custom-light: #7c88d0; $custom-dark: #000000;
JSON
{
"hex": "#315bbb",
"rgb": {
"r": 49,
"g": 91,
"b": 187
},
"hsl": {
"h": 221.739,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.4961,
"c": 0.1588,
"h": 263.8
},
"luminance": 0.11723
}Semantic roles & 50–950 ramp
primary
#315BBB
secondary
#C9B27F
accent
#B246E2
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82