#317BAB#317BAB

#317BAB is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.9% C 0.104 H 240.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#317BAB
RGBrgb(49, 123, 171)
HSLhsl(204, 55%, 43%)
HSVhsv(204, 71%, 67%)
CMYKcmyk(71.3%, 28.1%, 0%, 32.9%)
CIE-LABlab(49.20, -6.71, -32.15)
CIE-LCHlch(49.20, 32.84, 258.21°)
OKLaboklab(55.87% -0.0507 -0.0907)
OKLCHoklch(55.87% 0.104 240.8)
XYZxyz(15.6974, 17.7574, 41.1204)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BAB #AB6131
analogous
#31AB9E #317BAB #313EAB
triadic
#317BAB #AB317B #7BAB31
tetradic
#317BAB #9E31AB #AB6131 #3EAB31
square
#317BAB #9E31AB #AB6131 #3EAB31
split-complementary
#317BAB #AB313E #AB9E31
monochromatic
#16374C #23597B #317BAB #4D9ACC #7DB5DA

Accessibility & contrast

On white

4.61
#317BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#317BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317BAB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BAB#FFFFFF#000000##FFFFFF
##317BAB1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657BAD
Deuteranopia (green-blind)
#5470AA
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317bab;
/* rgb */ color: rgb(49, 123, 171);
/* oklch */ color: oklch(55.9% 0.104 240.8);
Tailwind
colors: {
  custom: {
    50: '#78a1c4',
    500: '#317bab',
    950: '#000000',
  },
}
SCSS
$custom: #317bab;
$custom-light: #78a1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#317bab",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 171
  },
  "hsl": {
    "h": 203.607,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55873,
    "c": 0.10394,
    "h": 240.8
  },
  "luminance": 0.17759
}

Semantic roles & 50–950 ramp

primary
#317BAB
secondary
#C29475
accent
#8449DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #317BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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