#315FB9#315FB9
#315FB9 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.3% C 0.151 H 262.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #315FB9 |
|---|---|
| RGB | rgb(49, 95, 185) |
| HSL | hsl(220, 58%, 46%) |
| HSV | hsv(220, 74%, 73%) |
| CMYK | cmyk(73.5%, 48.6%, 0%, 27.5%) |
| CIE-LAB | lab(41.75, 15.85, -52.15) |
| CIE-LCH | lch(41.75, 54.50, 286.90°) |
| OKLab | oklab(50.31% -0.0208 -0.1497) |
| OKLCH | oklch(50.31% 0.151 262.1) |
| XYZ | xyz(14.1127, 12.3386, 47.5274) |
| Luminance | 0.1234 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 2.40
French Blue
#436BAD
ΔE00 4.34
Sapphire
#0F52BA
ΔE00 4.35
Denim Blue
#3B5B92
ΔE00 5.00
Mid Blue
#276AB3
ΔE00 5.11
Denim (survey)
#3B638C
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315FB9 #B98B31
analogous
#31A3B9 #315FB9 #4731B9
triadic
#315FB9 #B9315F #5FB931
tetradic
#315FB9 #B931A3 #B98B31 #31B947
square
#315FB9 #B931A3 #B98B31 #31B947
split-complementary
#315FB9 #B94731 #A3B931
monochromatic
#172D58 #244689 #315FB9 #557FD2 #86A4DF
Accessibility & contrast
On white
6.06
#315FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#315FB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315FB9
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315FB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315FB9 | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D69BC
Deuteranopia (green-blind)
#005DB7
Tritanopia (blue-blind)
#007483
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #315fb9; /* rgb */ color: rgb(49, 95, 185); /* oklch */ color: oklch(50.3% 0.151 262.1);
Tailwind
colors: {
custom: {
50: '#7b8bcf',
500: '#315fb9',
950: '#000000',
},
}SCSS
$custom: #315fb9; $custom-light: #7b8bcf; $custom-dark: #000000;
JSON
{
"hex": "#315fb9",
"rgb": {
"r": 49,
"g": 95,
"b": 185
},
"hsl": {
"h": 219.706,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.50314,
"c": 0.15115,
"h": 262.1
},
"luminance": 0.1234
}Semantic roles & 50–950 ramp
primary
#315FB9
secondary
#C8AF7D
accent
#AD46E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82