#315EB0#315EB0
#315EB0 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.140 H 261.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #315EB0 |
|---|---|
| RGB | rgb(49, 94, 176) |
| HSL | hsl(219, 56%, 44%) |
| HSV | hsv(219, 72%, 69%) |
| CMYK | cmyk(72.2%, 46.6%, 0%, 31%) |
| CIE-LAB | lab(40.88, 13.11, -48.26) |
| CIE-LCH | lch(40.88, 50.01, 285.20°) |
| OKLab | oklab(49.46% -0.0213 -0.1383) |
| OKLCH | oklch(49.46% 0.14 261.2) |
| XYZ | xyz(13.1030, 11.7916, 42.6513) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.52
Denim Blue
#3B5B92
ΔE00 3.94
Sapphire
#0F52BA
ΔE00 4.20
French Blue
#436BAD
ΔE00 4.50
Dusky Blue
#475F94
ΔE00 4.80
Denim (survey)
#3B638C
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315EB0 #B08331
analogous
#319EB0 #315EB0 #4431B0
triadic
#315EB0 #B0315E #5EB031
tetradic
#315EB0 #B0319E #B08331 #31B044
square
#315EB0 #B0319E #B08331 #31B044
split-complementary
#315EB0 #B04431 #9EB031
monochromatic
#162B50 #244480 #315EB0 #507DCE #80A0DC
Accessibility & contrast
On white
6.25
#315EB0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#315EB0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315EB0
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315EB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315EB0 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3367B3
Deuteranopia (green-blind)
#175BAE
Tritanopia (blue-blind)
#00717E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #315eb0; /* rgb */ color: rgb(49, 94, 176); /* oklch */ color: oklch(49.5% 0.140 261.2);
Tailwind
colors: {
custom: {
50: '#798bc8',
500: '#315eb0',
950: '#000000',
},
}SCSS
$custom: #315eb0; $custom-light: #798bc8; $custom-dark: #000000;
JSON
{
"hex": "#315eb0",
"rgb": {
"r": 49,
"g": 94,
"b": 176
},
"hsl": {
"h": 218.74,
"s": 56.444,
"l": 44.118
},
"oklch": {
"l": 0.49462,
"c": 0.13994,
"h": 261.2
},
"luminance": 0.11793
}Semantic roles & 50–950 ramp
primary
#315EB0
secondary
#C5AA78
accent
#AA48E0
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82