#317EB4#317EB4
#317EB4 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.112 H 243.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #317EB4 |
|---|---|
| RGB | rgb(49, 126, 180) |
| HSL | hsl(205, 57%, 45%) |
| HSV | hsv(205, 73%, 71%) |
| CMYK | cmyk(72.8%, 30%, 0%, 29.4%) |
| CIE-LAB | lab(50.53, -5.27, -35.27) |
| CIE-LCH | lch(50.53, 35.66, 261.50°) |
| OKLab | oklab(57.07% -0.0508 -0.0998) |
| OKLCH | oklch(57.07% 0.112 243) |
| XYZ | xyz(16.9625, 18.8680, 45.9191) |
| Luminance | 0.1887 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Steel Blue
#4682B4
ΔE00 2.54
Nice Blue
#107AB0
ΔE00 2.71
Cool Blue
#4984B8
ΔE00 3.39
Bluish
#2976BB
ΔE00 3.75
Cerulean (survey)
#0485D1
ΔE00 3.89
Water Blue
#0E87CC
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317EB4 #B46731
analogous
#31B4A9 #317EB4 #313CB4
triadic
#317EB4 #B4317E #7EB431
tetradic
#317EB4 #A931B4 #B46731 #3CB431
square
#317EB4 #A931B4 #B46731 #3CB431
split-complementary
#317EB4 #B4313C #B4A931
monochromatic
#173B54 #245C84 #317EB4 #529CD0 #82B8DD
Accessibility & contrast
On white
4.40
#317EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#317EB4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #317EB4
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317EB4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##317EB4 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#657FB6
Deuteranopia (green-blind)
#5373B3
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #317eb4; /* rgb */ color: rgb(49, 126, 180); /* oklch */ color: oklch(57.1% 0.112 243.0);
Tailwind
colors: {
custom: {
50: '#7aa3ca',
500: '#317eb4',
950: '#000000',
},
}SCSS
$custom: #317eb4; $custom-light: #7aa3ca; $custom-dark: #000000;
JSON
{
"hex": "#317eb4",
"rgb": {
"r": 49,
"g": 126,
"b": 180
},
"hsl": {
"h": 204.733,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.57067,
"c": 0.11195,
"h": 243
},
"luminance": 0.1887
}Semantic roles & 50–950 ramp
primary
#317EB4
secondary
#C69A7B
accent
#8647E0
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82