#317BA7#317BA7

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

Color values

HEX#317BA7
RGBrgb(49, 123, 167)
HSLhsl(202, 55%, 42%)
HSVhsv(202, 71%, 65%)
CMYKcmyk(70.7%, 26.3%, 0%, 34.5%)
CIE-LABlab(49.02, -8.12, -30.11)
CIE-LCHlch(49.02, 31.19, 254.91°)
OKLaboklab(55.67% -0.052 -0.0848)
OKLCHoklch(55.67% 0.1 238.5)
XYZxyz(15.3219, 17.6072, 39.1428)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BA7 #A75D31
analogous
#31A798 #317BA7 #3140A7
triadic
#317BA7 #A7317B #7BA731
tetradic
#317BA7 #9831A7 #A75D31 #40A731
square
#317BA7 #9831A7 #A75D31 #40A731
split-complementary
#317BA7 #A73140 #A79831
monochromatic
#153548 #235878 #317BA7 #4B9BCA #7AB5D8

Accessibility & contrast

On white

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

On black

4.52
#317BA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##317BA7#FFFFFF#000000##FFFFFF
##317BA71.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667BA9
Deuteranopia (green-blind)
#566FA6
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #317ba7;
/* rgb */ color: rgb(49, 123, 167);
/* oklch */ color: oklch(55.7% 0.100 238.5);
Tailwind
colors: {
  custom: {
    50: '#78a1c1',
    500: '#317ba7',
    950: '#000000',
  },
}
SCSS
$custom: #317ba7;
$custom-light: #78a1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#317ba7",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 167
  },
  "hsl": {
    "h": 202.373,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.55666,
    "c": 0.09953,
    "h": 238.5
  },
  "luminance": 0.17609
}

Semantic roles & 50–950 ramp

primary
#317BA7
secondary
#C19073
accent
#814ADE
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #317BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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