#317EC9#317EC9

#317EC9 is a mid, vivid cyan. Relative luminance 0.198; OKLCH L 58.3% C 0.138 H 251.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#317EC9
RGBrgb(49, 126, 201)
HSLhsl(210, 61%, 49%)
HSVhsv(210, 76%, 79%)
CMYKcmyk(75.6%, 37.3%, 0%, 21.2%)
CIE-LABlab(51.60, 2.34, -45.62)
CIE-LCHlch(51.60, 45.68, 272.94°)
OKLaboklab(58.25% -0.0448 -0.13)
OKLCHoklch(58.25% 0.138 251)
XYZxyz(19.2661, 19.7895, 58.0514)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EC9 #C97C31
analogous
#31C9C8 #317EC9 #3132C9
triadic
#317EC9 #C9317E #7EC931
tetradic
#317EC9 #C831C9 #C97C31 #32C931
square
#317EC9 #C831C9 #C97C31 #32C931
split-complementary
#317EC9 #C93132 #C9C831
monochromatic
#194067 #255F98 #317EC9 #5F9CD8 #90BBE4

Accessibility & contrast

On white

4.24
#317EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#317EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EC9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EC9#FFFFFF#000000##000000
##317EC91.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B83CC
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#00909A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #317ec9;
/* rgb */ color: rgb(49, 126, 201);
/* oklch */ color: oklch(58.3% 0.138 251.0);
Tailwind
colors: {
  custom: {
    50: '#7ea2da',
    500: '#317ec9',
    950: '#000000',
  },
}
SCSS
$custom: #317ec9;
$custom-light: #7ea2da;
$custom-dark: #000000;
JSON
{
  "hex": "#317ec9",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 201
  },
  "hsl": {
    "h": 209.605,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58254,
    "c": 0.13752,
    "h": 251
  },
  "luminance": 0.19792
}

Semantic roles & 50–950 ramp

primary
#317EC9
secondary
#CFAA87
accent
#9344E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F15
muted
#7C7E83

Preview Lab

Preview with #317EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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