#317EC0#317EC0

#317EC0 is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 57.7% C 0.126 H 248.0°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#317EC0
RGBrgb(49, 126, 192)
HSLhsl(208, 59%, 47%)
HSVhsv(208, 74%, 75%)
CMYKcmyk(74.5%, 34.4%, 0%, 24.7%)
CIE-LABlab(51.13, -0.95, -41.23)
CIE-LCHlch(51.13, 41.24, 268.68°)
OKLaboklab(57.73% -0.0472 -0.1171)
OKLCHoklch(57.73% 0.126 248)
XYZxyz(18.2383, 19.3784, 52.6381)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EC0 #C07331
analogous
#31C0BA #317EC0 #3137C0
triadic
#317EC0 #C0317E #7EC031
tetradic
#317EC0 #BA31C0 #C07331 #37C031
square
#317EC0 #BA31C0 #C07331 #37C031
split-complementary
#317EC0 #C03137 #C0BA31
monochromatic
#183E5E #255E8F #317EC0 #599CD5 #8AB9E1

Accessibility & contrast

On white

4.31
#317EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#317EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EC0
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EC0#FFFFFF#000000##000000
##317EC01.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6081C3
Deuteranopia (green-blind)
#4B74BF
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #317ec0;
/* rgb */ color: rgb(49, 126, 192);
/* oklch */ color: oklch(57.7% 0.126 248.0);
Tailwind
colors: {
  custom: {
    50: '#7ca3d3',
    500: '#317ec0',
    950: '#000000',
  },
}
SCSS
$custom: #317ec0;
$custom-light: #7ca3d3;
$custom-dark: #000000;
JSON
{
  "hex": "#317ec0",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 192
  },
  "hsl": {
    "h": 207.692,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5773,
    "c": 0.12631,
    "h": 248
  },
  "luminance": 0.1938
}

Semantic roles & 50–950 ramp

primary
#317EC0
secondary
#CBA482
accent
#8E45E3
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #317EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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