#317DC9#317DC9

#317DC9 is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 58.0% C 0.139 H 251.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#317DC9
RGBrgb(49, 125, 201)
HSLhsl(210, 61%, 49%)
HSVhsv(210, 76%, 79%)
CMYKcmyk(75.6%, 37.8%, 0%, 21.2%)
CIE-LABlab(51.31, 2.95, -46.09)
CIE-LCHlch(51.31, 46.18, 273.66°)
OKLaboklab(58.03% -0.0439 -0.1314)
OKLCHoklch(58.03% 0.139 251.5)
XYZxyz(19.1389, 19.5350, 58.0090)
Luminance0.1954 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DC9 #C97D31
analogous
#31C9C9 #317DC9 #3131C9
triadic
#317DC9 #C9317D #7DC931
tetradic
#317DC9 #C931C9 #C97D31 #31C931
square
#317DC9 #C931C9 #C97D31 #31C931
split-complementary
#317DC9 #C93131 #C9C931
monochromatic
#194067 #255E98 #317DC9 #5F9CD8 #90BAE4

Accessibility & contrast

On white

4.28
#317DC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#317DC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317DC9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317DC9#FFFFFF#000000##000000
##317DC91.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5982CC
Deuteranopia (green-blind)
#4274C7
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #317dc9;
/* rgb */ color: rgb(49, 125, 201);
/* oklch */ color: oklch(58.0% 0.139 251.5);
Tailwind
colors: {
  custom: {
    50: '#7ea2da',
    500: '#317dc9',
    950: '#000000',
  },
}
SCSS
$custom: #317dc9;
$custom-light: #7ea2da;
$custom-dark: #000000;
JSON
{
  "hex": "#317dc9",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 201
  },
  "hsl": {
    "h": 210,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58026,
    "c": 0.13853,
    "h": 251.5
  },
  "luminance": 0.19537
}

Semantic roles & 50–950 ramp

primary
#317DC9
secondary
#CFAB87
accent
#9444E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #317DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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