#317CCA#317CCA

#317CCA is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.9% C 0.141 H 252.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#317CCA
RGBrgb(49, 124, 202)
HSLhsl(211, 61%, 49%)
HSVhsv(211, 76%, 79%)
CMYKcmyk(75.7%, 38.6%, 0%, 20.8%)
CIE-LABlab(51.07, 3.92, -47.03)
CIE-LCHlch(51.07, 47.20, 274.77°)
OKLaboklab(57.86% -0.0428 -0.1342)
OKLCHoklch(57.86% 0.141 252.3)
XYZxyz(19.1309, 19.3303, 58.5885)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CCA #CA7F31
analogous
#31C9CA #317CCA #3231CA
triadic
#317CCA #CA317C #7CCA31
tetradic
#317CCA #CA31C9 #CA7F31 #31CA32
square
#317CCA #CA31C9 #CA7F31 #31CA32
split-complementary
#317CCA #CA3231 #C9CA31
monochromatic
#194067 #255E99 #317CCA #609BD8 #91BAE4

Accessibility & contrast

On white

4.32
#317CCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#317CCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CCA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CCA#FFFFFF#000000##000000
##317CCA1.004.324.874.87
#FFFFFF4.321.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5781CD
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#008E99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #317cca;
/* rgb */ color: rgb(49, 124, 202);
/* oklch */ color: oklch(57.9% 0.141 252.3);
Tailwind
colors: {
  custom: {
    50: '#7ea1da',
    500: '#317cca',
    950: '#000000',
  },
}
SCSS
$custom: #317cca;
$custom-light: #7ea1da;
$custom-dark: #000000;
JSON
{
  "hex": "#317cca",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 202
  },
  "hsl": {
    "h": 210.588,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.5786,
    "c": 0.14083,
    "h": 252.3
  },
  "luminance": 0.19333
}

Semantic roles & 50–950 ramp

primary
#317CCA
secondary
#CFAC88
accent
#9544E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #317CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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