#317BA8#317BA8

#317BA8 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.7% C 0.101 H 239.1°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#317BA8
RGBrgb(49, 123, 168)
HSLhsl(203, 55%, 43%)
HSVhsv(203, 71%, 66%)
CMYKcmyk(70.8%, 26.8%, 0%, 34.1%)
CIE-LABlab(49.06, -7.77, -30.62)
CIE-LCHlch(49.06, 31.59, 255.76°)
OKLaboklab(55.72% -0.0517 -0.0863)
OKLCHoklch(55.72% 0.101 239.1)
XYZxyz(15.4147, 17.6443, 39.6315)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BA8 #A85E31
analogous
#31A89A #317BA8 #313FA8
triadic
#317BA8 #A8317B #7BA831
tetradic
#317BA8 #9A31A8 #A85E31 #3FA831
square
#317BA8 #9A31A8 #A85E31 #3FA831
split-complementary
#317BA8 #A8313F #A89A31
monochromatic
#153649 #235879 #317BA8 #4C9BCB #7BB5D8

Accessibility & contrast

On white

4.64
#317BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#317BA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317BA8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BA8#FFFFFF#000000##FFFFFF
##317BA81.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667BAA
Deuteranopia (green-blind)
#566FA7
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317ba8;
/* rgb */ color: rgb(49, 123, 168);
/* oklch */ color: oklch(55.7% 0.101 239.1);
Tailwind
colors: {
  custom: {
    50: '#78a1c2',
    500: '#317ba8',
    950: '#000000',
  },
}
SCSS
$custom: #317ba8;
$custom-light: #78a1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#317ba8",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 168
  },
  "hsl": {
    "h": 202.689,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55717,
    "c": 0.10062,
    "h": 239.1
  },
  "luminance": 0.17646
}

Semantic roles & 50–950 ramp

primary
#317BA8
secondary
#C19174
accent
#824ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #317BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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