#317AB2#317AB2

#317AB2 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.0% C 0.113 H 245.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#317AB2
RGBrgb(49, 122, 178)
HSLhsl(206, 57%, 45%)
HSVhsv(206, 72%, 70%)
CMYKcmyk(72.5%, 31.5%, 0%, 30.2%)
CIE-LABlab(49.23, -3.62, -36.16)
CIE-LCHlch(49.23, 36.34, 264.28°)
OKLaboklab(56.01% -0.0475 -0.1024)
OKLCHoklch(56.01% 0.113 245.1)
XYZxyz(16.2590, 17.7846, 44.6867)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AB2 #B26931
analogous
#31B2AA #317AB2 #3139B2
triadic
#317AB2 #B2317A #7AB231
tetradic
#317AB2 #AA31B2 #B26931 #39B231
square
#317AB2 #AA31B2 #B26931 #39B231
split-complementary
#317AB2 #B23139 #B2AA31
monochromatic
#173852 #245982 #317AB2 #5198CF #81B5DC

Accessibility & contrast

On white

4.61
#317AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#317AB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317AB2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AB2#FFFFFF#000000##FFFFFF
##317AB21.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617CB4
Deuteranopia (green-blind)
#4F70B1
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317ab2;
/* rgb */ color: rgb(49, 122, 178);
/* oklch */ color: oklch(56.0% 0.113 245.1);
Tailwind
colors: {
  custom: {
    50: '#7aa0c9',
    500: '#317ab2',
    950: '#000000',
  },
}
SCSS
$custom: #317ab2;
$custom-light: #7aa0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#317ab2",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 178
  },
  "hsl": {
    "h": 206.047,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56009,
    "c": 0.11287,
    "h": 245.1
  },
  "luminance": 0.17786
}

Semantic roles & 50–950 ramp

primary
#317AB2
secondary
#C59A79
accent
#8A48E0
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #317AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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