#317CCC#317CCC

#317CCC is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 58.0% C 0.143 H 252.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#317CCC
RGBrgb(49, 124, 204)
HSLhsl(211, 61%, 50%)
HSVhsv(211, 76%, 80%)
CMYKcmyk(76%, 39.2%, 0%, 20%)
CIE-LABlab(51.18, 4.66, -48.00)
CIE-LCHlch(51.18, 48.22, 275.55°)
OKLaboklab(57.98% -0.0423 -0.137)
OKLCHoklch(57.98% 0.143 252.8)
XYZxyz(19.3693, 19.4257, 59.8437)
Luminance0.1943 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CCC #CC8131
analogous
#31CACC #317CCC #3431CC
triadic
#317CCC #CC317C #7CCC31
tetradic
#317CCC #CC31CA #CC8131 #31CC34
square
#317CCC #CC31CA #CC8131 #31CC34
split-complementary
#317CCC #CC3431 #CACC31
monochromatic
#194069 #255E9B #317CCC #619BD9 #92BAE5

Accessibility & contrast

On white

4.30
#317CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#317CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CCC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CCC#FFFFFF#000000##000000
##317CCC1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682CF
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#008F9A
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #317ccc;
/* rgb */ color: rgb(49, 124, 204);
/* oklch */ color: oklch(58.0% 0.143 252.8);
Tailwind
colors: {
  custom: {
    50: '#7ea1dc',
    500: '#317ccc',
    950: '#000000',
  },
}
SCSS
$custom: #317ccc;
$custom-light: #7ea1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#317ccc",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 204
  },
  "hsl": {
    "h": 210.968,
    "s": 61.265,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57981,
    "c": 0.14339,
    "h": 252.8
  },
  "luminance": 0.19428
}

Semantic roles & 50–950 ramp

primary
#317CCC
secondary
#D0AE89
accent
#9643E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #317CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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