#315F8F#315F8F
#315F8F is a mid, moderate cyan. Relative luminance 0.108; OKLCH L 47.6% C 0.093 H 251.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #315F8F |
|---|---|
| RGB | rgb(49, 95, 143) |
| HSL | hsl(211, 49%, 38%) |
| HSV | hsv(211, 66%, 56%) |
| CMYK | cmyk(65.7%, 33.6%, 0%, 43.9%) |
| CIE-LAB | lab(39.27, 0.24, -31.16) |
| CIE-LCH | lch(39.27, 31.16, 270.44°) |
| OKLab | oklab(47.6% -0.0299 -0.0882) |
| OKLCH | oklch(47.6% 0.093 251.3) |
| XYZ | xyz(10.3149, 10.8195, 27.5261) |
| Luminance | 0.1082 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 1.81
Denim (survey)
#3B638C
ΔE00 1.86
Denim Blue
#3B5B92
ΔE00 3.41
Dusk Blue
#26538D
ΔE00 4.19
Ugly Blue
#31668A
ΔE00 4.43
Denim
#1560BD
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#315F8F #8F6131
analogous
#318E8F #315F8F #32318F
triadic
#315F8F #8F315F #5F8F31
tetradic
#315F8F #8F318E #8F6131 #318F32
square
#315F8F #8F318E #8F6131 #318F32
split-complementary
#315F8F #8F3231 #8E8F31
monochromatic
#122234 #214161 #315F8F #417DBD #6D9CCD
Accessibility & contrast
On white
6.64
#315F8F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#315F8F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #315F8F
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##315F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##315F8F | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A6191
Deuteranopia (green-blind)
#3D588E
Tritanopia (blue-blind)
#006A70
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #315f8f; /* rgb */ color: rgb(49, 95, 143); /* oklch */ color: oklch(47.6% 0.093 251.3);
Tailwind
colors: {
custom: {
50: '#738cb0',
500: '#315f8f',
950: '#000000',
},
}SCSS
$custom: #315f8f; $custom-light: #738cb0; $custom-dark: #000000;
JSON
{
"hex": "#315f8f",
"rgb": {
"r": 49,
"g": 95,
"b": 143
},
"hsl": {
"h": 210.638,
"s": 48.958,
"l": 37.647
},
"oklch": {
"l": 0.47596,
"c": 0.0931,
"h": 251.3
},
"luminance": 0.10821
}Semantic roles & 50–950 ramp
primary
#315F8F
secondary
#B58F67
accent
#954FD9
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F