#317DAB#317DAB

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

Color values

HEX#317DAB
RGBrgb(49, 125, 171)
HSLhsl(203, 55%, 43%)
HSVhsv(203, 71%, 67%)
CMYKcmyk(71.3%, 26.9%, 0%, 32.9%)
CIE-LABlab(49.81, -7.88, -31.20)
CIE-LCHlch(49.81, 32.18, 255.83°)
OKLaboklab(56.36% -0.0527 -0.088)
OKLCHoklch(56.36% 0.103 239.1)
XYZxyz(15.9481, 18.2587, 41.2040)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DAB #AB5F31
analogous
#31AB9C #317DAB #3140AB
triadic
#317DAB #AB317D #7DAB31
tetradic
#317DAB #9C31AB #AB5F31 #40AB31
square
#317DAB #9C31AB #AB5F31 #40AB31
split-complementary
#317DAB #AB3140 #AB9C31
monochromatic
#16374C #235A7B #317DAB #4D9CCC #7DB7DA

Accessibility & contrast

On white

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

On black

4.65
#317DAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317DAB
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317DAB#FFFFFF#000000##000000
##317DAB1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#687DAD
Deuteranopia (green-blind)
#5771AA
Tritanopia (blue-blind)
#00898D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317dab;
/* rgb */ color: rgb(49, 125, 171);
/* oklch */ color: oklch(56.4% 0.103 239.1);
Tailwind
colors: {
  custom: {
    50: '#78a2c4',
    500: '#317dab',
    950: '#000000',
  },
}
SCSS
$custom: #317dab;
$custom-light: #78a2c4;
$custom-dark: #000000;
JSON
{
  "hex": "#317dab",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 171
  },
  "hsl": {
    "h": 202.623,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.56355,
    "c": 0.10256,
    "h": 239.1
  },
  "luminance": 0.1826
}

Semantic roles & 50–950 ramp

primary
#317DAB
secondary
#C29275
accent
#8149DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #317DAB

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

Preview Lab → · Contrast checker → · Palette generator →

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