#317AB1#317AB1

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

Color values

HEX#317AB1
RGBrgb(49, 122, 177)
HSLhsl(206, 57%, 44%)
HSVhsv(206, 72%, 69%)
CMYKcmyk(72.3%, 31.1%, 0%, 30.6%)
CIE-LABlab(49.18, -3.98, -35.65)
CIE-LCHlch(49.18, 35.88, 263.63°)
OKLaboklab(55.96% -0.0478 -0.1009)
OKLCHoklch(55.96% 0.112 244.7)
XYZxyz(16.1589, 17.7446, 44.1599)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AB1 #B16831
analogous
#31B1A8 #317AB1 #313AB1
triadic
#317AB1 #B1317A #7AB131
tetradic
#317AB1 #A831B1 #B16831 #3AB131
square
#317AB1 #A831B1 #B16831 #3AB131
split-complementary
#317AB1 #B1313A #B1A831
monochromatic
#163851 #245981 #317AB1 #5198CF #80B5DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317AB1#FFFFFF#000000##FFFFFF
##317AB11.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)
#617CB3
Deuteranopia (green-blind)
#4F6FB0
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317ab1;
/* rgb */ color: rgb(49, 122, 177);
/* oklch */ color: oklch(56.0% 0.112 244.7);
Tailwind
colors: {
  custom: {
    50: '#79a0c8',
    500: '#317ab1',
    950: '#000000',
  },
}
SCSS
$custom: #317ab1;
$custom-light: #79a0c8;
$custom-dark: #000000;
JSON
{
  "hex": "#317ab1",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 177
  },
  "hsl": {
    "h": 205.781,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.55955,
    "c": 0.11167,
    "h": 244.7
  },
  "luminance": 0.17746
}

Semantic roles & 50–950 ramp

primary
#317AB1
secondary
#C59A79
accent
#8948E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #317AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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