#315CB9#315CB9
#315CB9 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.155 H 263.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #315CB9 |
|---|---|
| RGB | rgb(49, 92, 185) |
| HSL | hsl(221, 58%, 46%) |
| HSV | hsv(221, 74%, 73%) |
| CMYK | cmyk(73.5%, 50.3%, 0%, 27.5%) |
| CIE-LAB | lab(40.91, 17.79, -53.50) |
| CIE-LCH | lch(40.91, 56.38, 288.40°) |
| OKLab | oklab(49.67% -0.0182 -0.1537) |
| OKLCH | oklch(49.67% 0.155 263.2) |
| XYZ | xyz(13.8476, 11.8085, 47.4390) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.14
Sapphire
#0F52BA
ΔE00 3.50
Denim Blue
#3B5B92
ΔE00 4.90
French Blue
#436BAD
ΔE00 5.30
Dusky Blue
#475F94
ΔE00 5.57
Denim (survey)
#3B638C
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315CB9 #B98E31
analogous
#31A0B9 #315CB9 #4A31B9
triadic
#315CB9 #B9315C #5CB931
tetradic
#315CB9 #B931A0 #B98E31 #31B94A
square
#315CB9 #B931A0 #B98E31 #31B94A
split-complementary
#315CB9 #B94A31 #A0B931
monochromatic
#172C58 #244489 #315CB9 #557DD2 #86A2DF
Accessibility & contrast
On white
6.25
#315CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#315CB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315CB9
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315CB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315CB9 | 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)
#2467BC
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#007282
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #315cb9; /* rgb */ color: rgb(49, 92, 185); /* oklch */ color: oklch(49.7% 0.155 263.2);
Tailwind
colors: {
custom: {
50: '#7b89cf',
500: '#315cb9',
950: '#000000',
},
}SCSS
$custom: #315cb9; $custom-light: #7b89cf; $custom-dark: #000000;
JSON
{
"hex": "#315cb9",
"rgb": {
"r": 49,
"g": 92,
"b": 185
},
"hsl": {
"h": 221.029,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.49673,
"c": 0.15483,
"h": 263.2
},
"luminance": 0.1181
}Semantic roles & 50–950 ramp
primary
#315CB9
secondary
#C8B17D
accent
#B046E1
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82