#317FB6#317FB6

#317FB6 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.4% C 0.113 H 243.2°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#317FB6
RGBrgb(49, 127, 182)
HSLhsl(205, 58%, 45%)
HSVhsv(205, 73%, 71%)
CMYKcmyk(73.1%, 30.2%, 0%, 28.6%)
CIE-LABlab(50.93, -5.15, -35.80)
CIE-LCHlch(50.93, 36.17, 261.82°)
OKLaboklab(57.41% -0.0511 -0.1013)
OKLCHoklch(57.41% 0.113 243.2)
XYZxyz(17.2962, 19.2072, 47.0427)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FB6 #B66831
analogous
#31B6AA #317FB6 #313CB6
triadic
#317FB6 #B6317F #7FB631
tetradic
#317FB6 #AA31B6 #B66831 #3CB631
square
#317FB6 #AA31B6 #B66831 #3CB631
split-complementary
#317FB6 #B6313C #B6AA31
monochromatic
#173C56 #245D86 #317FB6 #539DD1 #84B8DE

Accessibility & contrast

On white

4.34
#317FB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#317FB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FB6
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FB6#FFFFFF#000000##000000
##317FB61.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B8
Deuteranopia (green-blind)
#5374B5
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #317fb6;
/* rgb */ color: rgb(49, 127, 182);
/* oklch */ color: oklch(57.4% 0.113 243.2);
Tailwind
colors: {
  custom: {
    50: '#7aa3cc',
    500: '#317fb6',
    950: '#000000',
  },
}
SCSS
$custom: #317fb6;
$custom-light: #7aa3cc;
$custom-dark: #000000;
JSON
{
  "hex": "#317fb6",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 182
  },
  "hsl": {
    "h": 204.812,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57411,
    "c": 0.11349,
    "h": 243.2
  },
  "luminance": 0.19209
}

Semantic roles & 50–950 ramp

primary
#317FB6
secondary
#C79B7C
accent
#8747E1
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #317FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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