#315E98#315E98
#315E98 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.9% C 0.106 H 255.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #315E98 |
|---|---|
| RGB | rgb(49, 94, 152) |
| HSL | hsl(214, 51%, 39%) |
| HSV | hsv(214, 68%, 60%) |
| CMYK | cmyk(67.8%, 38.2%, 0%, 40.4%) |
| CIE-LAB | lab(39.45, 4.16, -36.29) |
| CIE-LCH | lch(39.45, 36.53, 276.54°) |
| OKLab | oklab(47.89% -0.0263 -0.1032) |
| OKLCH | oklch(47.89% 0.106 255.7) |
| XYZ | xyz(10.9348, 10.9243, 31.2320) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.48
Light Navy Blue
#2E5A88
ΔE00 2.51
Denim (survey)
#3B638C
ΔE00 2.84
Dusk Blue
#26538D
ΔE00 3.80
Denim
#1560BD
ΔE00 4.08
Dusky Blue
#475F94
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315E98 #986B31
analogous
#319298 #315E98 #373198
triadic
#315E98 #98315E #5E9831
tetradic
#315E98 #983192 #986B31 #319837
square
#315E98 #983192 #986B31 #319837
split-complementary
#315E98 #983731 #929831
monochromatic
#13253B #22416A #315E98 #447BC3 #729CD2
Accessibility & contrast
On white
6.59
#315E98 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#315E98 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315E98
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315E98 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315E98 | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#44629A
Deuteranopia (green-blind)
#355997
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #315e98; /* rgb */ color: rgb(49, 94, 152); /* oklch */ color: oklch(47.9% 0.106 255.7);
Tailwind
colors: {
custom: {
50: '#758bb6',
500: '#315e98',
950: '#000000',
},
}SCSS
$custom: #315e98; $custom-light: #758bb6; $custom-dark: #000000;
JSON
{
"hex": "#315e98",
"rgb": {
"r": 49,
"g": 94,
"b": 152
},
"hsl": {
"h": 213.786,
"s": 51.244,
"l": 39.412
},
"oklch": {
"l": 0.47892,
"c": 0.10647,
"h": 255.7
},
"luminance": 0.10925
}Semantic roles & 50–950 ramp
primary
#315E98
secondary
#B9976B
accent
#9D4DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80