#317FB5#317FB5
#317FB5 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.4% C 0.112 H 242.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).
Color values
| HEX | #317FB5 |
|---|---|
| RGB | rgb(49, 127, 181) |
| HSL | hsl(205, 57%, 45%) |
| HSV | hsv(205, 73%, 71%) |
| CMYK | cmyk(72.9%, 29.8%, 0%, 29%) |
| CIE-LAB | lab(50.88, -5.50, -35.30) |
| CIE-LCH | lch(50.88, 35.73, 261.14°) |
| OKLab | oklab(57.36% -0.0515 -0.0998) |
| OKLCH | oklch(57.36% 0.112 242.7) |
| XYZ | xyz(17.1933, 19.1660, 46.5004) |
| Luminance | 0.1917 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.40
Nice Blue
#107AB0
ΔE00 2.89
Cool Blue
#4984B8
ΔE00 3.21
Cerulean (survey)
#0485D1
ΔE00 3.63
Water Blue
#0E87CC
ΔE00 3.68
Bluish
#2976BB
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317FB5 #B56731
analogous
#31B5A9 #317FB5 #313DB5
triadic
#317FB5 #B5317F #7FB531
tetradic
#317FB5 #A931B5 #B56731 #3DB531
square
#317FB5 #A931B5 #B56731 #3DB531
split-complementary
#317FB5 #B5313D #B5A931
monochromatic
#173B55 #245D85 #317FB5 #539DD0 #83B8DD
Accessibility & contrast
On white
4.34
#317FB5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.83
#317FB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #317FB5
4.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317FB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##317FB5 | 1.00 | 4.34 | 4.83 | 4.83 |
| #FFFFFF | 4.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6680B7
Deuteranopia (green-blind)
#5474B4
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #317fb5; /* rgb */ color: rgb(49, 127, 181); /* oklch */ color: oklch(57.4% 0.112 242.7);
Tailwind
colors: {
custom: {
50: '#7aa3cb',
500: '#317fb5',
950: '#000000',
},
}SCSS
$custom: #317fb5; $custom-light: #7aa3cb; $custom-dark: #000000;
JSON
{
"hex": "#317fb5",
"rgb": {
"r": 49,
"g": 127,
"b": 181
},
"hsl": {
"h": 204.545,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.57358,
"c": 0.11233,
"h": 242.7
},
"luminance": 0.19168
}Semantic roles & 50–950 ramp
primary
#317FB5
secondary
#C79A7B
accent
#8647E1
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82