#315AB9#315AB9
#315AB9 is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.3% C 0.157 H 264.0°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #315AB9 |
|---|---|
| RGB | rgb(49, 90, 185) |
| HSL | hsl(222, 58%, 46%) |
| HSV | hsv(222, 74%, 73%) |
| CMYK | cmyk(73.5%, 51.4%, 0%, 27.5%) |
| CIE-LAB | lab(40.36, 19.10, -54.39) |
| CIE-LCH | lch(40.36, 57.65, 289.35°) |
| OKLab | oklab(49.25% -0.0166 -0.1564) |
| OKLCH | oklch(49.25% 0.157 264) |
| XYZ | xyz(13.6766, 11.4666, 47.3820) |
| Luminance | 0.1147 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.02
Denim
#1560BD
ΔE00 3.73
Denim Blue
#3B5B92
ΔE00 4.97
Dusky Blue
#475F94
ΔE00 5.70
French Blue
#436BAD
ΔE00 5.96
Denim (survey)
#3B638C
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315AB9 #B99031
analogous
#319EB9 #315AB9 #4C31B9
triadic
#315AB9 #B9315A #5AB931
tetradic
#315AB9 #B9319E #B99031 #31B94C
square
#315AB9 #B9319E #B99031 #31B94C
split-complementary
#315AB9 #B94C31 #9EB931
monochromatic
#172B58 #244289 #315AB9 #557BD2 #86A0DF
Accessibility & contrast
On white
6.38
#315AB9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#315AB9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315AB9
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315AB9 | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E66BC
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#007181
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #315ab9; /* rgb */ color: rgb(49, 90, 185); /* oklch */ color: oklch(49.3% 0.157 264.0);
Tailwind
colors: {
custom: {
50: '#7b88cf',
500: '#315ab9',
950: '#000000',
},
}SCSS
$custom: #315ab9; $custom-light: #7b88cf; $custom-dark: #000000;
JSON
{
"hex": "#315ab9",
"rgb": {
"r": 49,
"g": 90,
"b": 185
},
"hsl": {
"h": 221.912,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.4925,
"c": 0.1573,
"h": 264
},
"luminance": 0.11468
}Semantic roles & 50–950 ramp
primary
#315AB9
secondary
#C8B27D
accent
#B346E1
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82