#317FB5#317FB5

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

Color values

HEX#317FB5
RGBrgb(49, 127, 181)
HSLhsl(205, 57%, 45%)
HSVhsv(205, 73%, 71%)
CMYKcmyk(72.9%, 29.8%, 0%, 29%)
CIE-LABlab(50.88, -5.50, -35.30)
CIE-LCHlch(50.88, 35.73, 261.14°)
OKLaboklab(57.36% -0.0515 -0.0998)
OKLCHoklch(57.36% 0.112 242.7)
XYZxyz(17.1933, 19.1660, 46.5004)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FB5 #B56731
analogous
#31B5A9 #317FB5 #313DB5
triadic
#317FB5 #B5317F #7FB531
tetradic
#317FB5 #A931B5 #B56731 #3DB531
square
#317FB5 #A931B5 #B56731 #3DB531
split-complementary
#317FB5 #B5313D #B5A931
monochromatic
#173B55 #245D85 #317FB5 #539DD0 #83B8DD

Accessibility & contrast

On white

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

On black

4.83
#317FB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FB5
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FB5#FFFFFF#000000##000000
##317FB51.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B7
Deuteranopia (green-blind)
#5474B4
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #317fb5;
/* rgb */ color: rgb(49, 127, 181);
/* oklch */ color: oklch(57.4% 0.112 242.7);
Tailwind
colors: {
  custom: {
    50: '#7aa3cb',
    500: '#317fb5',
    950: '#000000',
  },
}
SCSS
$custom: #317fb5;
$custom-light: #7aa3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#317fb5",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 181
  },
  "hsl": {
    "h": 204.545,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57358,
    "c": 0.11233,
    "h": 242.7
  },
  "luminance": 0.19168
}

Semantic roles & 50–950 ramp

primary
#317FB5
secondary
#C79A7B
accent
#8647E1
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #317FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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