#317DB2#317DB2
#317DB2 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.7% C 0.110 H 242.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #317DB2 |
|---|---|
| RGB | rgb(49, 125, 178) |
| HSL | hsl(205, 57%, 45%) |
| HSV | hsv(205, 72%, 70%) |
| CMYK | cmyk(72.5%, 29.8%, 0%, 30.2%) |
| CIE-LAB | lab(50.14, -5.40, -34.74) |
| CIE-LCH | lch(50.14, 35.16, 261.17°) |
| OKLab | oklab(56.72% -0.0504 -0.0982) |
| OKLCH | oklch(56.72% 0.11 242.8) |
| XYZ | xyz(16.6330, 18.5327, 44.8114) |
| Luminance | 0.1853 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 2.44
Steel Blue
#4682B4
ΔE00 2.81
Bluish
#2976BB
ΔE00 3.57
Cool Blue
#4984B8
ΔE00 3.70
Windows Blue
#3778BF
ΔE00 4.15
Cerulean (survey)
#0485D1
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317DB2 #B26631
analogous
#31B2A7 #317DB2 #313DB2
triadic
#317DB2 #B2317D #7DB231
tetradic
#317DB2 #A731B2 #B26631 #3DB231
square
#317DB2 #A731B2 #B26631 #3DB231
split-complementary
#317DB2 #B2313D #B2A731
monochromatic
#173A52 #245B82 #317DB2 #519BCF #81B7DC
Accessibility & contrast
On white
4.46
#317DB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#317DB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #317DB2
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317DB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##317DB2 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#657EB4
Deuteranopia (green-blind)
#5372B1
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #317db2; /* rgb */ color: rgb(49, 125, 178); /* oklch */ color: oklch(56.7% 0.110 242.8);
Tailwind
colors: {
custom: {
50: '#7aa2c9',
500: '#317db2',
950: '#000000',
},
}SCSS
$custom: #317db2; $custom-light: #7aa2c9; $custom-dark: #000000;
JSON
{
"hex": "#317db2",
"rgb": {
"r": 49,
"g": 125,
"b": 178
},
"hsl": {
"h": 204.651,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.56722,
"c": 0.11043,
"h": 242.8
},
"luminance": 0.18535
}Semantic roles & 50–950 ramp
primary
#317DB2
secondary
#C59979
accent
#8648E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82