#317EB5#317EB5
#317EB5 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.113 H 243.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #317EB5 |
|---|---|
| RGB | rgb(49, 126, 181) |
| HSL | hsl(205, 57%, 45%) |
| HSV | hsv(205, 73%, 71%) |
| CMYK | cmyk(72.9%, 30.4%, 0%, 29%) |
| CIE-LAB | lab(50.58, -4.91, -35.77) |
| CIE-LCH | lch(50.58, 36.11, 262.18°) |
| OKLab | oklab(57.12% -0.0505 -0.1012) |
| OKLCH | oklch(57.12% 0.113 243.5) |
| XYZ | xyz(17.0648, 18.9089, 46.4575) |
| Luminance | 0.1891 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.47
Nice Blue
#107AB0
ΔE00 2.85
Cool Blue
#4984B8
ΔE00 3.30
Bluish
#2976BB
ΔE00 3.62
Cerulean (survey)
#0485D1
ΔE00 3.78
Water Blue
#0E87CC
ΔE00 3.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317EB5 #B56831
analogous
#31B5AA #317EB5 #313CB5
triadic
#317EB5 #B5317E #7EB531
tetradic
#317EB5 #AA31B5 #B56831 #3CB531
square
#317EB5 #AA31B5 #B56831 #3CB531
split-complementary
#317EB5 #B5313C #B5AA31
monochromatic
#173B55 #245C85 #317EB5 #539CD0 #83B8DD
Accessibility & contrast
On white
4.39
#317EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#317EB5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #317EB5
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317EB5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##317EB5 | 1.00 | 4.39 | 4.78 | 4.78 |
| #FFFFFF | 4.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#657FB7
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #317eb5; /* rgb */ color: rgb(49, 126, 181); /* oklch */ color: oklch(57.1% 0.113 243.5);
Tailwind
colors: {
custom: {
50: '#7aa3cb',
500: '#317eb5',
950: '#000000',
},
}SCSS
$custom: #317eb5; $custom-light: #7aa3cb; $custom-dark: #000000;
JSON
{
"hex": "#317eb5",
"rgb": {
"r": 49,
"g": 126,
"b": 181
},
"hsl": {
"h": 205,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.5712,
"c": 0.11312,
"h": 243.5
},
"luminance": 0.18911
}Semantic roles & 50–950 ramp
primary
#317EB5
secondary
#C79B7B
accent
#8747E1
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82