#317AC0#317AC0

#317AC0 is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.8% C 0.130 H 250.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#317AC0
RGBrgb(49, 122, 192)
HSLhsl(209, 59%, 47%)
HSVhsv(209, 74%, 75%)
CMYKcmyk(74.5%, 36.5%, 0%, 24.7%)
CIE-LABlab(49.95, 1.46, -43.10)
CIE-LCHlch(49.95, 43.12, 271.95°)
OKLaboklab(56.81% -0.0435 -0.1227)
OKLCHoklch(56.81% 0.13 250.5)
XYZxyz(17.7370, 18.3758, 52.4710)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317AC0 #C07731
analogous
#31C0BF #317AC0 #3132C0
triadic
#317AC0 #C0317A #7AC031
tetradic
#317AC0 #BF31C0 #C07731 #32C031
square
#317AC0 #BF31C0 #C07731 #32C031
split-complementary
#317AC0 #C03132 #C0BF31
monochromatic
#183C5E #255B8F #317AC0 #5998D5 #8AB7E1

Accessibility & contrast

On white

4.49
#317AC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#317AC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317AC0
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317AC0#FFFFFF#000000##000000
##317AC01.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC3
Deuteranopia (green-blind)
#4471BF
Tritanopia (blue-blind)
#008B94
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317ac0;
/* rgb */ color: rgb(49, 122, 192);
/* oklch */ color: oklch(56.8% 0.130 250.5);
Tailwind
colors: {
  custom: {
    50: '#7ca0d3',
    500: '#317ac0',
    950: '#000000',
  },
}
SCSS
$custom: #317ac0;
$custom-light: #7ca0d3;
$custom-dark: #000000;
JSON
{
  "hex": "#317ac0",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 192
  },
  "hsl": {
    "h": 209.371,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.56805,
    "c": 0.13015,
    "h": 250.5
  },
  "luminance": 0.18378
}

Semantic roles & 50–950 ramp

primary
#317AC0
secondary
#CBA682
accent
#9245E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E14
muted
#7C7E83

Preview Lab

Preview with #317AC0

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

Preview Lab → · Contrast checker → · Palette generator →

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