#317AA2#317AA2

#317AA2 is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.2% C 0.095 H 236.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#317AA2
RGBrgb(49, 122, 162)
HSLhsl(201, 54%, 41%)
HSVhsv(201, 70%, 64%)
CMYKcmyk(69.8%, 24.7%, 0%, 36.5%)
CIE-LABlab(48.48, -9.29, -28.02)
CIE-LCHlch(48.48, 29.52, 251.66°)
OKLaboklab(55.17% -0.0527 -0.0788)
OKLCHoklch(55.17% 0.095 236.2)
XYZxyz(14.7452, 17.1791, 36.7142)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AA2 #A25931
analogous
#31A292 #317AA2 #3142A2
triadic
#317AA2 #A2317A #7AA231
tetradic
#317AA2 #9231A2 #A25931 #42A231
square
#317AA2 #9231A2 #A25931 #42A231
split-complementary
#317AA2 #A23142 #A29231
monochromatic
#153344 #235773 #317AA2 #489BC8 #77B5D6

Accessibility & contrast

On white

4.73
#317AA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#317AA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317AA2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AA2#FFFFFF#000000##FFFFFF
##317AA21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6779A4
Deuteranopia (green-blind)
#576EA1
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #317aa2;
/* rgb */ color: rgb(49, 122, 162);
/* oklch */ color: oklch(55.2% 0.095 236.2);
Tailwind
colors: {
  custom: {
    50: '#77a0bd',
    500: '#317aa2',
    950: '#000000',
  },
}
SCSS
$custom: #317aa2;
$custom-light: #77a0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#317aa2",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 162
  },
  "hsl": {
    "h": 201.239,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5517,
    "c": 0.09483,
    "h": 236.2
  },
  "luminance": 0.17181
}

Semantic roles & 50–950 ramp

primary
#317AA2
secondary
#BE8C71
accent
#7F4BDD
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #317AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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