#317BAB#317BAB
#317BAB is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.9% C 0.104 H 240.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #317BAB |
|---|---|
| RGB | rgb(49, 123, 171) |
| HSL | hsl(204, 55%, 43%) |
| HSV | hsv(204, 71%, 67%) |
| CMYK | cmyk(71.3%, 28.1%, 0%, 32.9%) |
| CIE-LAB | lab(49.20, -6.71, -32.15) |
| CIE-LCH | lch(49.20, 32.84, 258.21°) |
| OKLab | oklab(55.87% -0.0507 -0.0907) |
| OKLCH | oklch(55.87% 0.104 240.8) |
| XYZ | xyz(15.6974, 17.7574, 41.1204) |
| Luminance | 0.1776 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Nice Blue
#107AB0
ΔE00 1.81
Steel Blue
#4682B4
ΔE00 3.77
Cerulean
#007BA7
ΔE00 3.82
Bluish
#2976BB
ΔE00 3.98
Stormy Blue
#507B9C
ΔE00 4.15
Dull Blue
#49759C
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#317BAB #AB6131
analogous
#31AB9E #317BAB #313EAB
triadic
#317BAB #AB317B #7BAB31
tetradic
#317BAB #9E31AB #AB6131 #3EAB31
square
#317BAB #9E31AB #AB6131 #3EAB31
split-complementary
#317BAB #AB313E #AB9E31
monochromatic
#16374C #23597B #317BAB #4D9ACC #7DB5DA
Accessibility & contrast
On white
4.61
#317BAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#317BAB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #317BAB
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##317BAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##317BAB | 1.00 | 4.61 | 4.55 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#657BAD
Deuteranopia (green-blind)
#5470AA
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #317bab; /* rgb */ color: rgb(49, 123, 171); /* oklch */ color: oklch(55.9% 0.104 240.8);
Tailwind
colors: {
custom: {
50: '#78a1c4',
500: '#317bab',
950: '#000000',
},
}SCSS
$custom: #317bab; $custom-light: #78a1c4; $custom-dark: #000000;
JSON
{
"hex": "#317bab",
"rgb": {
"r": 49,
"g": 123,
"b": 171
},
"hsl": {
"h": 203.607,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.55873,
"c": 0.10394,
"h": 240.8
},
"luminance": 0.17759
}Semantic roles & 50–950 ramp
primary
#317BAB
secondary
#C29475
accent
#8449DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81