#317CAB#317CAB

#317CAB is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.1% C 0.103 H 239.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#317CAB
RGBrgb(49, 124, 171)
HSLhsl(203, 55%, 43%)
HSVhsv(203, 71%, 67%)
CMYKcmyk(71.3%, 27.5%, 0%, 32.9%)
CIE-LABlab(49.50, -7.30, -31.67)
CIE-LCHlch(49.50, 32.50, 257.03°)
OKLaboklab(56.11% -0.0517 -0.0893)
OKLCHoklch(56.11% 0.103 239.9)
XYZxyz(15.8221, 18.0068, 41.1620)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CAB #AB6031
analogous
#31AB9D #317CAB #313FAB
triadic
#317CAB #AB317C #7CAB31
tetradic
#317CAB #9D31AB #AB6031 #3FAB31
square
#317CAB #9D31AB #AB6031 #3FAB31
split-complementary
#317CAB #AB313F #AB9D31
monochromatic
#16374C #235A7B #317CAB #4D9BCC #7DB6DA

Accessibility & contrast

On white

4.56
#317CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#317CAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CAB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CAB#FFFFFF#000000##000000
##317CAB1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#667CAD
Deuteranopia (green-blind)
#5570AA
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #317cab;
/* rgb */ color: rgb(49, 124, 171);
/* oklch */ color: oklch(56.1% 0.103 239.9);
Tailwind
colors: {
  custom: {
    50: '#78a1c4',
    500: '#317cab',
    950: '#000000',
  },
}
SCSS
$custom: #317cab;
$custom-light: #78a1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#317cab",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 171
  },
  "hsl": {
    "h": 203.115,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.56114,
    "c": 0.10323,
    "h": 239.9
  },
  "luminance": 0.18009
}

Semantic roles & 50–950 ramp

primary
#317CAB
secondary
#C29375
accent
#8349DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #317CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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