#317EC4#317EC4

#317EC4 is a mid, vivid cyan. Relative luminance 0.196; OKLCH L 58.0% C 0.131 H 249.4°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#317EC4
RGBrgb(49, 126, 196)
HSLhsl(209, 60%, 48%)
HSVhsv(209, 75%, 77%)
CMYKcmyk(75%, 35.7%, 0%, 23.1%)
CIE-LABlab(51.33, 0.51, -43.19)
CIE-LCHlch(51.33, 43.20, 270.68°)
OKLaboklab(57.96% -0.0461 -0.1229)
OKLCHoklch(57.96% 0.131 249.4)
XYZxyz(18.6875, 19.5580, 55.0040)
Luminance0.1956 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EC4 #C47731
analogous
#31C4C0 #317EC4 #3135C4
triadic
#317EC4 #C4317E #7EC431
tetradic
#317EC4 #C031C4 #C47731 #35C431
square
#317EC4 #C031C4 #C47731 #35C431
split-complementary
#317EC4 #C43135 #C4C031
monochromatic
#193F62 #255F93 #317EC4 #5C9CD6 #8DBAE2

Accessibility & contrast

On white

4.28
#317EC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#317EC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EC4
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EC4#FFFFFF#000000##000000
##317EC41.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E82C7
Deuteranopia (green-blind)
#4874C3
Tritanopia (blue-blind)
#008F98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #317ec4;
/* rgb */ color: rgb(49, 126, 196);
/* oklch */ color: oklch(58.0% 0.131 249.4);
Tailwind
colors: {
  custom: {
    50: '#7da3d6',
    500: '#317ec4',
    950: '#000000',
  },
}
SCSS
$custom: #317ec4;
$custom-light: #7da3d6;
$custom-dark: #000000;
JSON
{
  "hex": "#317ec4",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 196
  },
  "hsl": {
    "h": 208.571,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5796,
    "c": 0.13126,
    "h": 249.4
  },
  "luminance": 0.1956
}

Semantic roles & 50–950 ramp

primary
#317EC4
secondary
#CDA784
accent
#9045E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #317EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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