#317FAF#317FAF

#317FAF is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.0% C 0.106 H 239.6°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#317FAF
RGBrgb(49, 127, 175)
HSLhsl(203, 56%, 44%)
HSVhsv(203, 72%, 69%)
CMYKcmyk(72%, 27.4%, 0%, 31.4%)
CIE-LABlab(50.60, -7.63, -32.28)
CIE-LCHlch(50.60, 33.17, 256.70°)
OKLaboklab(57.04% -0.0534 -0.0911)
OKLCHoklch(57.04% 0.106 239.6)
XYZxyz(16.5908, 18.9250, 43.3276)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FAF #AF6131
analogous
#31AFA0 #317FAF #3140AF
triadic
#317FAF #AF317F #7FAF31
tetradic
#317FAF #A031AF #AF6131 #40AF31
square
#317FAF #A031AF #AF6131 #40AF31
split-complementary
#317FAF #AF3140 #AFA031
monochromatic
#163A4F #245C7F #317FAF #4F9ECE #7FB8DB

Accessibility & contrast

On white

4.39
#317FAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#317FAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FAF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FAF#FFFFFF#000000##000000
##317FAF1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#697FB1
Deuteranopia (green-blind)
#5773AE
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317faf;
/* rgb */ color: rgb(49, 127, 175);
/* oklch */ color: oklch(57.0% 0.106 239.6);
Tailwind
colors: {
  custom: {
    50: '#79a4c7',
    500: '#317faf',
    950: '#000000',
  },
}
SCSS
$custom: #317faf;
$custom-light: #79a4c7;
$custom-dark: #000000;
JSON
{
  "hex": "#317faf",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 175
  },
  "hsl": {
    "h": 202.857,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.57042,
    "c": 0.10559,
    "h": 239.6
  },
  "luminance": 0.18927
}

Semantic roles & 50–950 ramp

primary
#317FAF
secondary
#C49578
accent
#8248E0
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #317FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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