#317AB2#317AB2
#317AB2 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.0% C 0.113 H 245.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #317AB2 |
|---|---|
| RGB | rgb(49, 122, 178) |
| HSL | hsl(206, 57%, 45%) |
| HSV | hsv(206, 72%, 70%) |
| CMYK | cmyk(72.5%, 31.5%, 0%, 30.2%) |
| CIE-LAB | lab(49.23, -3.62, -36.16) |
| CIE-LCH | lch(49.23, 36.34, 264.28°) |
| OKLab | oklab(56.01% -0.0475 -0.1024) |
| OKLCH | oklch(56.01% 0.113 245.1) |
| XYZ | xyz(16.2590, 17.7846, 44.6867) |
| Luminance | 0.1779 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Bluish
#2976BB
ΔE00 2.25
Nice Blue
#107AB0
ΔE00 2.85
Windows Blue
#3778BF
ΔE00 3.08
Flat Blue
#3C73A8
ΔE00 3.29
Steel Blue
#4682B4
ΔE00 3.43
Muted Blue
#3B719F
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317AB2 #B26931
analogous
#31B2AA #317AB2 #3139B2
triadic
#317AB2 #B2317A #7AB231
tetradic
#317AB2 #AA31B2 #B26931 #39B231
square
#317AB2 #AA31B2 #B26931 #39B231
split-complementary
#317AB2 #B23139 #B2AA31
monochromatic
#173852 #245982 #317AB2 #5198CF #81B5DC
Accessibility & contrast
On white
4.61
#317AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#317AB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #317AB2
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317AB2 | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#617CB4
Deuteranopia (green-blind)
#4F70B1
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #317ab2; /* rgb */ color: rgb(49, 122, 178); /* oklch */ color: oklch(56.0% 0.113 245.1);
Tailwind
colors: {
custom: {
50: '#7aa0c9',
500: '#317ab2',
950: '#000000',
},
}SCSS
$custom: #317ab2; $custom-light: #7aa0c9; $custom-dark: #000000;
JSON
{
"hex": "#317ab2",
"rgb": {
"r": 49,
"g": 122,
"b": 178
},
"hsl": {
"h": 206.047,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.56009,
"c": 0.11287,
"h": 245.1
},
"luminance": 0.17786
}Semantic roles & 50–950 ramp
primary
#317AB2
secondary
#C59A79
accent
#8A48E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82