#315795#315795
#315795 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.1% C 0.110 H 259.7°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).
Color values
| HEX | #315795 |
|---|---|
| RGB | rgb(49, 87, 149) |
| HSL | hsl(217, 51%, 39%) |
| HSV | hsv(217, 67%, 58%) |
| CMYK | cmyk(67.1%, 41.6%, 0%, 41.6%) |
| CIE-LAB | lab(37.19, 7.56, -38.09) |
| CIE-LCH | lch(37.19, 38.83, 281.23°) |
| OKLab | oklab(46.08% -0.0197 -0.1085) |
| OKLCH | oklch(46.08% 0.11 259.7) |
| XYZ | xyz(10.0977, 9.6383, 29.7562) |
| Luminance | 0.0964 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 1.76
Dusk Blue
#26538D
ΔE00 2.10
Light Navy Blue
#2E5A88
ΔE00 2.98
Dusky Blue
#475F94
ΔE00 4.07
Light Navy
#155084
ΔE00 4.62
Denim (survey)
#3B638C
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315795 #956F31
analogous
#318995 #315795 #3D3195
triadic
#315795 #953157 #579531
tetradic
#315795 #953189 #956F31 #31953D
square
#315795 #953189 #956F31 #31953D
split-complementary
#315795 #953D31 #899531
monochromatic
#132139 #223C67 #315795 #4272C1 #7095D0
Accessibility & contrast
On white
7.17
#315795 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#315795 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315795
7.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315795 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315795 | 1.00 | 7.17 | 2.93 | 7.17 |
| #FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B5D97
Deuteranopia (green-blind)
#2C5394
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #315795; /* rgb */ color: rgb(49, 87, 149); /* oklch */ color: oklch(46.1% 0.110 259.7);
Tailwind
colors: {
custom: {
50: '#7486b4',
500: '#315795',
950: '#000000',
},
}SCSS
$custom: #315795; $custom-light: #7486b4; $custom-dark: #000000;
JSON
{
"hex": "#315795",
"rgb": {
"r": 49,
"g": 87,
"b": 149
},
"hsl": {
"h": 217.2,
"s": 50.505,
"l": 38.824
},
"oklch": {
"l": 0.46075,
"c": 0.1103,
"h": 259.7
},
"luminance": 0.09639
}Semantic roles & 50–950 ramp
primary
#315795
secondary
#B89A6A
accent
#A54EDA
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80