#317AA4#317AA4

#317AA4 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.3% C 0.097 H 237.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#317AA4
RGBrgb(49, 122, 164)
HSLhsl(202, 54%, 42%)
HSVhsv(202, 70%, 64%)
CMYKcmyk(70.1%, 25.6%, 0%, 35.7%)
CIE-LABlab(48.57, -8.59, -29.05)
CIE-LCHlch(48.57, 30.30, 253.53°)
OKLaboklab(55.27% -0.052 -0.0818)
OKLCHoklch(55.27% 0.097 237.5)
XYZxyz(14.9244, 17.2507, 37.6579)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AA4 #A45B31
analogous
#31A495 #317AA4 #3141A4
triadic
#317AA4 #A4317A #7AA431
tetradic
#317AA4 #9531A4 #A45B31 #41A431
square
#317AA4 #9531A4 #A45B31 #41A431
split-complementary
#317AA4 #A43141 #A49531
monochromatic
#153446 #235775 #317AA4 #499AC9 #79B4D7

Accessibility & contrast

On white

4.72
#317AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#317AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317AA4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AA4#FFFFFF#000000##FFFFFF
##317AA41.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667AA6
Deuteranopia (green-blind)
#566EA3
Tritanopia (blue-blind)
#008588
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #317aa4;
/* rgb */ color: rgb(49, 122, 164);
/* oklch */ color: oklch(55.3% 0.097 237.5);
Tailwind
colors: {
  custom: {
    50: '#77a0bf',
    500: '#317aa4',
    950: '#000000',
  },
}
SCSS
$custom: #317aa4;
$custom-light: #77a0bf;
$custom-dark: #000000;
JSON
{
  "hex": "#317aa4",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 164
  },
  "hsl": {
    "h": 201.913,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.55271,
    "c": 0.09693,
    "h": 237.5
  },
  "luminance": 0.17252
}

Semantic roles & 50–950 ramp

primary
#317AA4
secondary
#BF8E72
accent
#804ADD
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #317AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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