#317CA4#317CA4

#317CA4 is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.8% C 0.096 H 235.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#317CA4
RGBrgb(49, 124, 164)
HSLhsl(201, 54%, 42%)
HSVhsv(201, 70%, 64%)
CMYKcmyk(70.1%, 24.4%, 0%, 35.7%)
CIE-LABlab(49.19, -9.75, -28.10)
CIE-LCHlch(49.19, 29.74, 250.87°)
OKLaboklab(55.76% -0.0541 -0.079)
OKLCHoklch(55.76% 0.096 235.6)
XYZxyz(15.1725, 17.7469, 37.7406)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CA4 #A45931
analogous
#31A493 #317CA4 #3142A4
triadic
#317CA4 #A4317C #7CA431
tetradic
#317CA4 #9331A4 #A45931 #42A431
square
#317CA4 #9331A4 #A45931 #42A431
split-complementary
#317CA4 #A43142 #A49331
monochromatic
#153546 #235875 #317CA4 #499CC9 #79B6D7

Accessibility & contrast

On white

4.62
#317CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317CA4
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CA4#FFFFFF#000000##FFFFFF
##317CA41.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697BA6
Deuteranopia (green-blind)
#5970A3
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317ca4;
/* rgb */ color: rgb(49, 124, 164);
/* oklch */ color: oklch(55.8% 0.096 235.6);
Tailwind
colors: {
  custom: {
    50: '#77a1bf',
    500: '#317ca4',
    950: '#000000',
  },
}
SCSS
$custom: #317ca4;
$custom-light: #77a1bf;
$custom-dark: #000000;
JSON
{
  "hex": "#317ca4",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 164
  },
  "hsl": {
    "h": 200.87,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.55758,
    "c": 0.09577,
    "h": 235.6
  },
  "luminance": 0.17749
}

Semantic roles & 50–950 ramp

primary
#317CA4
secondary
#BF8D72
accent
#7E4ADD
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #317CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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