#317BAC#317BAC

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

Color values

HEX#317BAC
RGBrgb(49, 123, 172)
HSLhsl(204, 56%, 43%)
HSVhsv(204, 72%, 67%)
CMYKcmyk(71.5%, 28.5%, 0%, 32.5%)
CIE-LABlab(49.25, -6.36, -32.66)
CIE-LCHlch(49.25, 33.27, 258.99°)
OKLaboklab(55.93% -0.0504 -0.0922)
OKLCHoklch(55.93% 0.105 241.4)
XYZxyz(15.7931, 17.7957, 41.6243)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BAC #AC6231
analogous
#31AC9F #317BAC #313EAC
triadic
#317BAC #AC317B #7BAC31
tetradic
#317BAC #9F31AC #AC6231 #3EAC31
square
#317BAC #9F31AC #AC6231 #3EAC31
split-complementary
#317BAC #AC313E #AC9F31
monochromatic
#16374D #23597C #317BAC #4E9ACC #7DB5DA

Accessibility & contrast

On white

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

On black

4.56
#317BAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##317BAC#FFFFFF#000000##FFFFFF
##317BAC1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#647CAE
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317bac;
/* rgb */ color: rgb(49, 123, 172);
/* oklch */ color: oklch(55.9% 0.105 241.4);
Tailwind
colors: {
  custom: {
    50: '#79a1c5',
    500: '#317bac',
    950: '#000000',
  },
}
SCSS
$custom: #317bac;
$custom-light: #79a1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#317bac",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 172
  },
  "hsl": {
    "h": 203.902,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55925,
    "c": 0.10507,
    "h": 241.4
  },
  "luminance": 0.17797
}

Semantic roles & 50–950 ramp

primary
#317BAC
secondary
#C39576
accent
#8549DF
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #317BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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