#317AA8#317AA8

#317AA8 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.5% C 0.101 H 240.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#317AA8
RGBrgb(49, 122, 168)
HSLhsl(203, 55%, 43%)
HSVhsv(203, 71%, 66%)
CMYKcmyk(70.8%, 27.4%, 0%, 34.1%)
CIE-LABlab(48.76, -7.19, -31.10)
CIE-LCHlch(48.76, 31.92, 256.99°)
OKLaboklab(55.48% -0.0507 -0.0877)
OKLCHoklch(55.48% 0.101 240)
XYZxyz(15.2913, 17.3975, 39.5904)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AA8 #A85F31
analogous
#31A89A #317AA8 #313FA8
triadic
#317AA8 #A8317A #7AA831
tetradic
#317AA8 #9A31A8 #A85F31 #3FA831
square
#317AA8 #9A31A8 #A85F31 #3FA831
split-complementary
#317AA8 #A8313F #A89A31
monochromatic
#153549 #235879 #317AA8 #4C9ACB #7BB4D8

Accessibility & contrast

On white

4.69
#317AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#317AA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317AA8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AA8#FFFFFF#000000##FFFFFF
##317AA81.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657AAA
Deuteranopia (green-blind)
#546FA7
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #317aa8;
/* rgb */ color: rgb(49, 122, 168);
/* oklch */ color: oklch(55.5% 0.101 240.0);
Tailwind
colors: {
  custom: {
    50: '#78a0c2',
    500: '#317aa8',
    950: '#000000',
  },
}
SCSS
$custom: #317aa8;
$custom-light: #78a0c2;
$custom-dark: #000000;
JSON
{
  "hex": "#317aa8",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 168
  },
  "hsl": {
    "h": 203.193,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55476,
    "c": 0.10129,
    "h": 240
  },
  "luminance": 0.17399
}

Semantic roles & 50–950 ramp

primary
#317AA8
secondary
#C19274
accent
#834ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #317AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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