#317DB1#317DB1

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

Color values

HEX#317DB1
RGBrgb(49, 125, 177)
HSLhsl(204, 57%, 44%)
HSVhsv(204, 72%, 69%)
CMYKcmyk(72.3%, 29.4%, 0%, 30.6%)
CIE-LABlab(50.09, -5.75, -34.24)
CIE-LCHlch(50.09, 34.72, 260.46°)
OKLaboklab(56.67% -0.0508 -0.0968)
OKLCHoklch(56.67% 0.109 242.3)
XYZxyz(16.5330, 18.4927, 44.2846)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DB1 #B16531
analogous
#31B1A5 #317DB1 #313DB1
triadic
#317DB1 #B1317D #7DB131
tetradic
#317DB1 #A531B1 #B16531 #3DB131
square
#317DB1 #A531B1 #B16531 #3DB131
split-complementary
#317DB1 #B1313D #B1A531
monochromatic
#163951 #245B81 #317DB1 #519BCF #80B7DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317DB1#FFFFFF#000000##000000
##317DB11.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)
#657EB3
Deuteranopia (green-blind)
#5372B0
Tritanopia (blue-blind)
#008A8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317db1;
/* rgb */ color: rgb(49, 125, 177);
/* oklch */ color: oklch(56.7% 0.109 242.3);
Tailwind
colors: {
  custom: {
    50: '#79a2c8',
    500: '#317db1',
    950: '#000000',
  },
}
SCSS
$custom: #317db1;
$custom-light: #79a2c8;
$custom-dark: #000000;
JSON
{
  "hex": "#317db1",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 177
  },
  "hsl": {
    "h": 204.375,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56668,
    "c": 0.10928,
    "h": 242.3
  },
  "luminance": 0.18495
}

Semantic roles & 50–950 ramp

primary
#317DB1
secondary
#C59879
accent
#8648E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #317DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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