#317AB3#317AB3

#317AB3 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 56.1% C 0.114 H 245.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#317AB3
RGBrgb(49, 122, 179)
HSLhsl(206, 57%, 45%)
HSVhsv(206, 73%, 70%)
CMYKcmyk(72.6%, 31.8%, 0%, 29.8%)
CIE-LABlab(49.28, -3.26, -36.66)
CIE-LCHlch(49.28, 36.80, 264.92°)
OKLaboklab(56.06% -0.0472 -0.1039)
OKLCHoklch(56.06% 0.114 245.6)
XYZxyz(16.3597, 17.8249, 45.2174)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AB3 #B36A31
analogous
#31B3AB #317AB3 #3139B3
triadic
#317AB3 #B3317A #7AB331
tetradic
#317AB3 #AB31B3 #B36A31 #39B331
square
#317AB3 #AB31B3 #B36A31 #39B331
split-complementary
#317AB3 #B33139 #B3AB31
monochromatic
#173953 #245983 #317AB3 #5298D0 #82B5DD

Accessibility & contrast

On white

4.60
#317AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#317AB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #317AB3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AB3#FFFFFF#000000##FFFFFF
##317AB31.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607CB5
Deuteranopia (green-blind)
#4E70B2
Tritanopia (blue-blind)
#00888E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #317ab3;
/* rgb */ color: rgb(49, 122, 179);
/* oklch */ color: oklch(56.1% 0.114 245.6);
Tailwind
colors: {
  custom: {
    50: '#7aa0ca',
    500: '#317ab3',
    950: '#000000',
  },
}
SCSS
$custom: #317ab3;
$custom-light: #7aa0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#317ab3",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 179
  },
  "hsl": {
    "h": 206.308,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56064,
    "c": 0.11407,
    "h": 245.6
  },
  "luminance": 0.17827
}

Semantic roles & 50–950 ramp

primary
#317AB3
secondary
#C69B7A
accent
#8B48E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #317AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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