#317FAC#317FAC
#317FAC is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 56.9% C 0.102 H 237.9°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #317FAC |
|---|---|
| RGB | rgb(49, 127, 172) |
| HSL | hsl(202, 56%, 43%) |
| HSV | hsv(202, 72%, 67%) |
| CMYK | cmyk(71.5%, 26.2%, 0%, 32.5%) |
| CIE-LAB | lab(50.46, -8.69, -30.76) |
| CIE-LCH | lch(50.46, 31.96, 254.23°) |
| OKLab | oklab(56.89% -0.0544 -0.0867) |
| OKLCH | oklch(56.89% 0.102 237.9) |
| XYZ | xyz(16.2995, 18.8084, 41.7931) |
| Luminance | 0.1881 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.65
Cerulean
#007BA7
ΔE00 3.29
Steel Blue
#4682B4
ΔE00 3.71
Stormy Blue
#507B9C
ΔE00 4.43
Cool Blue
#4984B8
ΔE00 4.57
Water Blue
#0E87CC
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317FAC #AC5E31
analogous
#31AC9B #317FAC #3142AC
triadic
#317FAC #AC317F #7FAC31
tetradic
#317FAC #9B31AC #AC5E31 #42AC31
square
#317FAC #9B31AC #AC5E31 #42AC31
split-complementary
#317FAC #AC3142 #AC9B31
monochromatic
#16394D #235C7C #317FAC #4E9ECC #7DB8DA
Accessibility & contrast
On white
4.41
#317FAC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.76
#317FAC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #317FAC
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317FAC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##317FAC | 1.00 | 4.41 | 4.76 | 4.76 |
| #FFFFFF | 4.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A7FAE
Deuteranopia (green-blind)
#5973AB
Tritanopia (blue-blind)
#008A8E
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #317fac; /* rgb */ color: rgb(49, 127, 172); /* oklch */ color: oklch(56.9% 0.102 237.9);
Tailwind
colors: {
custom: {
50: '#79a4c5',
500: '#317fac',
950: '#000000',
},
}SCSS
$custom: #317fac; $custom-light: #79a4c5; $custom-dark: #000000;
JSON
{
"hex": "#317fac",
"rgb": {
"r": 49,
"g": 127,
"b": 172
},
"hsl": {
"h": 201.951,
"s": 55.656,
"l": 43.333
},
"oklch": {
"l": 0.56889,
"c": 0.10234,
"h": 237.9
},
"luminance": 0.1881
}Semantic roles & 50–950 ramp
primary
#317FAC
secondary
#C39276
accent
#8049DF
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82