#317AAF#317AAF

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

Color values

HEX#317AAF
RGBrgb(49, 122, 175)
HSLhsl(205, 56%, 44%)
HSVhsv(205, 72%, 69%)
CMYKcmyk(72%, 30.3%, 0%, 31.4%)
CIE-LABlab(49.09, -4.70, -34.65)
CIE-LCHlch(49.09, 34.97, 262.28°)
OKLaboklab(55.85% -0.0484 -0.098)
OKLCHoklch(55.85% 0.109 243.7)
XYZxyz(15.9610, 17.6654, 43.1177)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AAF #AF6631
analogous
#31AFA5 #317AAF #313BAF
triadic
#317AAF #AF317A #7AAF31
tetradic
#317AAF #A531AF #AF6631 #3BAF31
square
#317AAF #A531AF #AF6631 #3BAF31
split-complementary
#317AAF #AF313B #AFA531
monochromatic
#16374F #24597F #317AAF #4F99CE #7FB5DB

Accessibility & contrast

On white

4.63
#317AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #317AAF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AAF#FFFFFF#000000##FFFFFF
##317AAF1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627BB1
Deuteranopia (green-blind)
#506FAE
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317aaf;
/* rgb */ color: rgb(49, 122, 175);
/* oklch */ color: oklch(55.8% 0.109 243.7);
Tailwind
colors: {
  custom: {
    50: '#79a0c7',
    500: '#317aaf',
    950: '#000000',
  },
}
SCSS
$custom: #317aaf;
$custom-light: #79a0c7;
$custom-dark: #000000;
JSON
{
  "hex": "#317aaf",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 175
  },
  "hsl": {
    "h": 205.238,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55846,
    "c": 0.10931,
    "h": 243.7
  },
  "luminance": 0.17667
}

Semantic roles & 50–950 ramp

primary
#317AAF
secondary
#C49878
accent
#8848E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #317AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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