#315EBC#315EBC
#315EBC is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.3% C 0.156 H 262.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #315EBC |
|---|---|
| RGB | rgb(49, 94, 188) |
| HSL | hsl(221, 59%, 46%) |
| HSV | hsv(221, 74%, 74%) |
| CMYK | cmyk(73.9%, 50%, 0%, 26.3%) |
| CIE-LAB | lab(41.67, 17.62, -54.02) |
| CIE-LCH | lch(41.67, 56.83, 288.07°) |
| OKLab | oklab(50.32% -0.0195 -0.1553) |
| OKLCH | oklch(50.32% 0.156 262.8) |
| XYZ | xyz(14.3432, 12.2876, 49.1830) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.76
Sapphire
#0F52BA
ΔE00 4.09
French Blue
#436BAD
ΔE00 4.76
Denim Blue
#3B5B92
ΔE00 5.29
Mid Blue
#276AB3
ΔE00 5.61
Dusky Blue
#475F94
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315EBC #BC8F31
analogous
#31A4BC #315EBC #4A31BC
triadic
#315EBC #BC315E #5EBC31
tetradic
#315EBC #BC31A4 #BC8F31 #31BC4A
square
#315EBC #BC31A4 #BC8F31 #31BC4A
split-complementary
#315EBC #BC4A31 #A4BC31
monochromatic
#182D5B #24468B #315EBC #577FD3 #88A4E0
Accessibility & contrast
On white
6.07
#315EBC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#315EBC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315EBC
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315EBC | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2669BF
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #315ebc; /* rgb */ color: rgb(49, 94, 188); /* oklch */ color: oklch(50.3% 0.156 262.8);
Tailwind
colors: {
custom: {
50: '#7c8bd1',
500: '#315ebc',
950: '#000000',
},
}SCSS
$custom: #315ebc; $custom-light: #7c8bd1; $custom-dark: #000000;
JSON
{
"hex": "#315ebc",
"rgb": {
"r": 49,
"g": 94,
"b": 188
},
"hsl": {
"h": 220.576,
"s": 58.65,
"l": 46.471
},
"oklch": {
"l": 0.50317,
"c": 0.15648,
"h": 262.8
},
"luminance": 0.12289
}Semantic roles & 50–950 ramp
primary
#315EBC
secondary
#CAB27F
accent
#AF46E2
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82