#317DAC#317DAC

#317DAC is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.4% C 0.104 H 239.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#317DAC
RGBrgb(49, 125, 172)
HSLhsl(203, 56%, 43%)
HSVhsv(203, 72%, 67%)
CMYKcmyk(71.5%, 27.3%, 0%, 32.5%)
CIE-LABlab(49.85, -7.53, -31.71)
CIE-LCHlch(49.85, 32.59, 256.65°)
OKLaboklab(56.41% -0.0524 -0.0894)
OKLCHoklch(56.41% 0.104 239.6)
XYZxyz(16.0437, 18.2970, 41.7078)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DAC #AC6031
analogous
#31AC9D #317DAC #313FAC
triadic
#317DAC #AC317D #7DAC31
tetradic
#317DAC #9D31AC #AC6031 #3FAC31
square
#317DAC #9D31AC #AC6031 #3FAC31
split-complementary
#317DAC #AC313F #AC9D31
monochromatic
#16384D #235A7C #317DAC #4E9CCC #7DB7DA

Accessibility & contrast

On white

4.51
#317DAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#317DAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317DAC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317DAC#FFFFFF#000000##000000
##317DAC1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#677DAE
Deuteranopia (green-blind)
#5671AB
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317dac;
/* rgb */ color: rgb(49, 125, 172);
/* oklch */ color: oklch(56.4% 0.104 239.6);
Tailwind
colors: {
  custom: {
    50: '#79a2c5',
    500: '#317dac',
    950: '#000000',
  },
}
SCSS
$custom: #317dac;
$custom-light: #79a2c5;
$custom-dark: #000000;
JSON
{
  "hex": "#317dac",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 172
  },
  "hsl": {
    "h": 202.927,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.56406,
    "c": 0.10365,
    "h": 239.6
  },
  "luminance": 0.18299
}

Semantic roles & 50–950 ramp

primary
#317DAC
secondary
#C39376
accent
#8249DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #317DAC

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

Preview Lab → · Contrast checker → · Palette generator →

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