#317AAB#317AAB

#317AAB is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.6% C 0.105 H 241.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#317AAB
RGBrgb(49, 122, 171)
HSLhsl(204, 55%, 43%)
HSVhsv(204, 71%, 67%)
CMYKcmyk(71.3%, 28.7%, 0%, 32.9%)
CIE-LABlab(48.90, -6.12, -32.63)
CIE-LCHlch(48.90, 33.19, 259.37°)
OKLaboklab(55.63% -0.0497 -0.0921)
OKLCHoklch(55.63% 0.105 241.7)
XYZxyz(15.5740, 17.5106, 41.0793)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AAB #AB6231
analogous
#31AB9F #317AAB #313DAB
triadic
#317AAB #AB317A #7AAB31
tetradic
#317AAB #9F31AB #AB6231 #3DAB31
square
#317AAB #9F31AB #AB6231 #3DAB31
split-complementary
#317AAB #AB313D #AB9F31
monochromatic
#16364C #23587B #317AAB #4D99CC #7DB4DA

Accessibility & contrast

On white

4.66
#317AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#317AAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317AAB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AAB#FFFFFF#000000##FFFFFF
##317AAB1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#637BAD
Deuteranopia (green-blind)
#536FAA
Tritanopia (blue-blind)
#00868B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #317aab;
/* rgb */ color: rgb(49, 122, 171);
/* oklch */ color: oklch(55.6% 0.105 241.7);
Tailwind
colors: {
  custom: {
    50: '#78a0c4',
    500: '#317aab',
    950: '#000000',
  },
}
SCSS
$custom: #317aab;
$custom-light: #78a0c4;
$custom-dark: #000000;
JSON
{
  "hex": "#317aab",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 171
  },
  "hsl": {
    "h": 204.098,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55633,
    "c": 0.10467,
    "h": 241.7
  },
  "luminance": 0.17512
}

Semantic roles & 50–950 ramp

primary
#317AAB
secondary
#C29475
accent
#8549DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #317AAB

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#317AAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva