#315E97#315E97
#315E97 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.8% C 0.105 H 255.3°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #315E97 |
|---|---|
| RGB | rgb(49, 94, 151) |
| HSL | hsl(214, 51%, 39%) |
| HSV | hsv(214, 68%, 59%) |
| CMYK | cmyk(67.5%, 37.7%, 0%, 40.8%) |
| CIE-LAB | lab(39.40, 3.79, -35.78) |
| CIE-LCH | lch(39.40, 35.98, 276.05°) |
| OKLab | oklab(47.83% -0.0266 -0.1017) |
| OKLCH | oklch(47.83% 0.105 255.3) |
| XYZ | xyz(10.8532, 10.8917, 30.8025) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 2.39
Denim Blue
#3B5B92
ΔE00 2.50
Denim (survey)
#3B638C
ΔE00 2.76
Dusk Blue
#26538D
ΔE00 3.77
Denim
#1560BD
ΔE00 4.17
Dusky Blue
#475F94
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315E97 #976A31
analogous
#319197 #315E97 #373197
triadic
#315E97 #97315E #5E9731
tetradic
#315E97 #973191 #976A31 #319737
square
#315E97 #973191 #976A31 #319737
split-complementary
#315E97 #973731 #919731
monochromatic
#13243B #224169 #315E97 #437BC2 #719CD1
Accessibility & contrast
On white
6.61
#315E97 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#315E97 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315E97
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315E97 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#456299
Deuteranopia (green-blind)
#365896
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #315e97; /* rgb */ color: rgb(49, 94, 151); /* oklch */ color: oklch(47.8% 0.105 255.3);
Tailwind
colors: {
custom: {
50: '#748bb6',
500: '#315e97',
950: '#000000',
},
}SCSS
$custom: #315e97; $custom-light: #748bb6; $custom-dark: #000000;
JSON
{
"hex": "#315e97",
"rgb": {
"r": 49,
"g": 94,
"b": 151
},
"hsl": {
"h": 213.529,
"s": 51,
"l": 39.216
},
"oklch": {
"l": 0.47831,
"c": 0.10508,
"h": 255.3
},
"luminance": 0.10893
}Semantic roles & 50–950 ramp
primary
#315E97
secondary
#B9966B
accent
#9C4DDA
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80