#317FA9#317FA9

#317FA9 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.7% C 0.099 H 236.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#317FA9
RGBrgb(49, 127, 169)
HSLhsl(201, 55%, 43%)
HSVhsv(201, 71%, 66%)
CMYKcmyk(71%, 24.9%, 0%, 33.7%)
CIE-LABlab(50.33, -9.73, -29.23)
CIE-LCHlch(50.33, 30.81, 251.58°)
OKLaboklab(56.74% -0.0555 -0.0822)
OKLCHoklch(56.74% 0.099 236)
XYZxyz(16.0146, 18.6945, 40.2928)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FA9 #A95B31
analogous
#31A997 #317FA9 #3143A9
triadic
#317FA9 #A9317F #7FA931
tetradic
#317FA9 #9731A9 #A95B31 #43A931
square
#317FA9 #9731A9 #A95B31 #43A931
split-complementary
#317FA9 #A93143 #A99731
monochromatic
#15384A #235B7A #317FA9 #4C9FCB #7CB8D9

Accessibility & contrast

On white

4.43
#317FA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#317FA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FA9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FA9#FFFFFF#000000##000000
##317FA91.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EAB
Deuteranopia (green-blind)
#5B73A8
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317fa9;
/* rgb */ color: rgb(49, 127, 169);
/* oklch */ color: oklch(56.7% 0.099 236.0);
Tailwind
colors: {
  custom: {
    50: '#78a4c2',
    500: '#317fa9',
    950: '#000000',
  },
}
SCSS
$custom: #317fa9;
$custom-light: #78a4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#317fa9",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 169
  },
  "hsl": {
    "h": 201,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.56737,
    "c": 0.0992,
    "h": 236
  },
  "luminance": 0.18696
}

Semantic roles & 50–950 ramp

primary
#317FA9
secondary
#C18F74
accent
#7E49DE
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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