#317AC9#317AC9

#317AC9 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.3% C 0.142 H 253.1°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#317AC9
RGBrgb(49, 122, 201)
HSLhsl(211, 61%, 49%)
HSVhsv(211, 76%, 79%)
CMYKcmyk(75.6%, 39.3%, 0%, 21.2%)
CIE-LABlab(50.44, 4.78, -47.47)
CIE-LCHlch(50.44, 47.71, 275.75°)
OKLaboklab(57.35% -0.0413 -0.1355)
OKLCHoklch(57.35% 0.142 253.1)
XYZxyz(18.7648, 18.7869, 57.8843)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AC9 #C98031
analogous
#31C6C9 #317AC9 #3431C9
triadic
#317AC9 #C9317A #7AC931
tetradic
#317AC9 #C931C6 #C98031 #31C934
square
#317AC9 #C931C6 #C98031 #31C934
split-complementary
#317AC9 #C93431 #C6C931
monochromatic
#193E67 #255C98 #317AC9 #5F99D8 #90B9E4

Accessibility & contrast

On white

4.41
#317AC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#317AC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317AC9
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AC9#FFFFFF#000000##000000
##317AC91.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5580CC
Deuteranopia (green-blind)
#3C72C7
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317ac9;
/* rgb */ color: rgb(49, 122, 201);
/* oklch */ color: oklch(57.3% 0.142 253.1);
Tailwind
colors: {
  custom: {
    50: '#7e9fda',
    500: '#317ac9',
    950: '#000000',
  },
}
SCSS
$custom: #317ac9;
$custom-light: #7e9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#317ac9",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 201
  },
  "hsl": {
    "h": 211.184,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.57346,
    "c": 0.14163,
    "h": 253.1
  },
  "luminance": 0.18789
}

Semantic roles & 50–950 ramp

primary
#317AC9
secondary
#CFAC87
accent
#9744E4
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #317AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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