#317AC4#317AC4

#317AC4 is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.0% C 0.135 H 251.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#317AC4
RGBrgb(49, 122, 196)
HSLhsl(210, 60%, 48%)
HSVhsv(210, 75%, 77%)
CMYKcmyk(75%, 37.8%, 0%, 23.1%)
CIE-LABlab(50.16, 2.93, -45.05)
CIE-LCHlch(50.16, 45.14, 273.73°)
OKLaboklab(57.04% -0.0425 -0.1284)
OKLCHoklch(57.04% 0.135 251.7)
XYZxyz(18.1862, 18.5555, 54.8369)
Luminance0.1856 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AC4 #C47B31
analogous
#31C3C4 #317AC4 #3131C4
triadic
#317AC4 #C4317A #7AC431
tetradic
#317AC4 #C431C3 #C47B31 #31C431
square
#317AC4 #C431C3 #C47B31 #31C431
split-complementary
#317AC4 #C43131 #C3C431
monochromatic
#193D62 #255C93 #317AC4 #5C99D6 #8DB7E2

Accessibility & contrast

On white

4.46
#317AC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#317AC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317AC4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AC4#FFFFFF#000000##000000
##317AC41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#577FC7
Deuteranopia (green-blind)
#4171C3
Tritanopia (blue-blind)
#008C95
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317ac4;
/* rgb */ color: rgb(49, 122, 196);
/* oklch */ color: oklch(57.0% 0.135 251.7);
Tailwind
colors: {
  custom: {
    50: '#7da0d6',
    500: '#317ac4',
    950: '#000000',
  },
}
SCSS
$custom: #317ac4;
$custom-light: #7da0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#317ac4",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 196
  },
  "hsl": {
    "h": 210.204,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.57043,
    "c": 0.13523,
    "h": 251.7
  },
  "luminance": 0.18558
}

Semantic roles & 50–950 ramp

primary
#317AC4
secondary
#CDA984
accent
#9445E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #317AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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