#317FA3#317FA3

#317FA3 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.4% C 0.093 H 231.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#317FA3
RGBrgb(49, 127, 163)
HSLhsl(199, 54%, 42%)
HSVhsv(199, 70%, 64%)
CMYKcmyk(69.9%, 22.1%, 0%, 36.1%)
CIE-LABlab(50.07, -11.81, -26.15)
CIE-LCHlch(50.07, 28.69, 245.70°)
OKLaboklab(56.44% -0.0576 -0.0734)
OKLCHoklch(56.44% 0.093 231.9)
XYZxyz(15.4642, 18.4743, 37.3941)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FA3 #A35531
analogous
#31A38E #317FA3 #3146A3
triadic
#317FA3 #A3317F #7FA331
tetradic
#317FA3 #8E31A3 #A35531 #46A331
square
#317FA3 #8E31A3 #A35531 #46A331
split-complementary
#317FA3 #A33146 #A38E31
monochromatic
#153645 #235A74 #317FA3 #49A0C8 #78B9D6

Accessibility & contrast

On white

4.47
#317FA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#317FA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FA3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FA3#FFFFFF#000000##000000
##317FA31.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D7DA5
Deuteranopia (green-blind)
#5D72A2
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317fa3;
/* rgb */ color: rgb(49, 127, 163);
/* oklch */ color: oklch(56.4% 0.093 231.9);
Tailwind
colors: {
  custom: {
    50: '#77a4be',
    500: '#317fa3',
    950: '#000000',
  },
}
SCSS
$custom: #317fa3;
$custom-light: #77a4be;
$custom-dark: #000000;
JSON
{
  "hex": "#317fa3",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 163
  },
  "hsl": {
    "h": 198.947,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.56443,
    "c": 0.09331,
    "h": 231.9
  },
  "luminance": 0.18476
}

Semantic roles & 50–950 ramp

primary
#317FA3
secondary
#BF8A71
accent
#794BDD
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #317FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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