#315895#315895
#315895 is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.3% C 0.109 H 259.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #315895 |
|---|---|
| RGB | rgb(49, 88, 149) |
| HSL | hsl(217, 51%, 39%) |
| HSV | hsv(217, 67%, 58%) |
| CMYK | cmyk(67.1%, 40.9%, 0%, 41.6%) |
| CIE-LAB | lab(37.48, 6.91, -37.62) |
| CIE-LCH | lch(37.48, 38.24, 280.41°) |
| OKLab | oklab(46.31% -0.0208 -0.1071) |
| OKLCH | oklch(46.31% 0.109 259) |
| XYZ | xyz(10.1792, 9.8013, 29.7833) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.63
Dusk Blue
#26538D
ΔE00 2.20
Light Navy Blue
#2E5A88
ΔE00 2.73
Dusky Blue
#475F94
ΔE00 3.99
Denim (survey)
#3B638C
ΔE00 4.51
Light Navy
#155084
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315895 #956E31
analogous
#318A95 #315895 #3C3195
triadic
#315895 #953158 #589531
tetradic
#315895 #95318A #956E31 #31953C
square
#315895 #95318A #956E31 #31953C
split-complementary
#315895 #953C31 #8A9531
monochromatic
#132239 #223D67 #315895 #4274C1 #7096D0
Accessibility & contrast
On white
7.09
#315895 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#315895 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315895
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315895 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315895 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C5D97
Deuteranopia (green-blind)
#2D5494
Tritanopia (blue-blind)
#00666F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #315895; /* rgb */ color: rgb(49, 88, 149); /* oklch */ color: oklch(46.3% 0.109 259.0);
Tailwind
colors: {
custom: {
50: '#7486b4',
500: '#315895',
950: '#000000',
},
}SCSS
$custom: #315895; $custom-light: #7486b4; $custom-dark: #000000;
JSON
{
"hex": "#315895",
"rgb": {
"r": 49,
"g": 88,
"b": 149
},
"hsl": {
"h": 216.6,
"s": 50.505,
"l": 38.824
},
"oklch": {
"l": 0.46306,
"c": 0.10911,
"h": 259
},
"luminance": 0.09802
}Semantic roles & 50–950 ramp
primary
#315895
secondary
#B8996A
accent
#A34EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80