#315698#315698
#315698 is a mid, moderate blue. Relative luminance 0.096; OKLCH L 46.0% C 0.116 H 261.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #315698 |
|---|---|
| RGB | rgb(49, 86, 152) |
| HSL | hsl(218, 51%, 39%) |
| HSV | hsv(218, 68%, 60%) |
| CMYK | cmyk(67.8%, 43.4%, 0%, 40.4%) |
| CIE-LAB | lab(37.07, 9.33, -40.09) |
| CIE-LCH | lch(37.07, 41.16, 283.10°) |
| OKLab | oklab(46.04% -0.018 -0.1144) |
| OKLCH | oklch(46.04% 0.116 261) |
| XYZ | xyz(10.2599, 9.5745, 31.0070) |
| Luminance | 0.0958 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.07
Dusk Blue
#26538D
ΔE00 2.37
Light Navy Blue
#2E5A88
ΔE00 3.53
Dusky Blue
#475F94
ΔE00 4.19
Sapphire
#0F52BA
ΔE00 4.51
Cobalt (survey)
#1E488F
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315698 #987331
analogous
#318A98 #315698 #403198
triadic
#315698 #983156 #569831
tetradic
#315698 #98318A #987331 #319840
square
#315698 #98318A #987331 #319840
split-complementary
#315698 #984031 #8A9831
monochromatic
#13223B #223C6A #315698 #4471C3 #7294D2
Accessibility & contrast
On white
7.20
#315698 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#315698 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #315698
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315698 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315698 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#375C9B
Deuteranopia (green-blind)
#265397
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #315698; /* rgb */ color: rgb(49, 86, 152); /* oklch */ color: oklch(46.0% 0.116 261.0);
Tailwind
colors: {
custom: {
50: '#7585b7',
500: '#315698',
950: '#000000',
},
}SCSS
$custom: #315698; $custom-light: #7585b7; $custom-dark: #000000;
JSON
{
"hex": "#315698",
"rgb": {
"r": 49,
"g": 86,
"b": 152
},
"hsl": {
"h": 218.447,
"s": 51.244,
"l": 39.412
},
"oklch": {
"l": 0.46042,
"c": 0.11581,
"h": 261
},
"luminance": 0.09576
}Semantic roles & 50–950 ramp
primary
#315698
secondary
#B99D6B
accent
#A84DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80