#317FB2#317FB2
#317FB2 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.2% C 0.109 H 241.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #317FB2 |
|---|---|
| RGB | rgb(49, 127, 178) |
| HSL | hsl(204, 57%, 45%) |
| HSV | hsv(204, 72%, 70%) |
| CMYK | cmyk(72.5%, 28.7%, 0%, 30.2%) |
| CIE-LAB | lab(50.74, -6.57, -33.79) |
| CIE-LCH | lch(50.74, 34.43, 259.00°) |
| OKLab | oklab(57.2% -0.0524 -0.0955) |
| OKLCH | oklch(57.2% 0.109 241.2) |
| XYZ | xyz(16.8888, 19.0442, 44.8967) |
| Luminance | 0.1905 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.59
Steel Blue
#4682B4
ΔE00 2.71
Cool Blue
#4984B8
ΔE00 3.56
Water Blue
#0E87CC
ΔE00 3.95
Cerulean (survey)
#0485D1
ΔE00 4.09
Bluish
#2976BB
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317FB2 #B26431
analogous
#31B2A5 #317FB2 #313FB2
triadic
#317FB2 #B2317F #7FB231
tetradic
#317FB2 #A531B2 #B26431 #3FB231
square
#317FB2 #A531B2 #B26431 #3FB231
split-complementary
#317FB2 #B2313F #B2A531
monochromatic
#173B52 #245D82 #317FB2 #519DCF #81B8DC
Accessibility & contrast
On white
4.37
#317FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#317FB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #317FB2
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317FB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##317FB2 | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6780B4
Deuteranopia (green-blind)
#5673B1
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #317fb2; /* rgb */ color: rgb(49, 127, 178); /* oklch */ color: oklch(57.2% 0.109 241.2);
Tailwind
colors: {
custom: {
50: '#7aa4c9',
500: '#317fb2',
950: '#000000',
},
}SCSS
$custom: #317fb2; $custom-light: #7aa4c9; $custom-dark: #000000;
JSON
{
"hex": "#317fb2",
"rgb": {
"r": 49,
"g": 127,
"b": 178
},
"hsl": {
"h": 203.721,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.57199,
"c": 0.10891,
"h": 241.2
},
"luminance": 0.19046
}Semantic roles & 50–950 ramp
primary
#317FB2
secondary
#C59779
accent
#8448E0
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82