#317EC8#317EC8

#317EC8 is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.2% C 0.136 H 250.7°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#317EC8
RGBrgb(49, 126, 200)
HSLhsl(209, 61%, 49%)
HSVhsv(209, 76%, 78%)
CMYKcmyk(75.5%, 37%, 0%, 21.6%)
CIE-LABlab(51.54, 1.97, -45.14)
CIE-LCHlch(51.54, 45.18, 272.50°)
OKLaboklab(58.19% -0.0451 -0.1286)
OKLCHoklch(58.19% 0.136 250.7)
XYZxyz(19.1489, 19.7426, 57.4339)
Luminance0.1974 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EC8 #C87B31
analogous
#31C8C7 #317EC8 #3132C8
triadic
#317EC8 #C8317E #7EC831
tetradic
#317EC8 #C731C8 #C87B31 #32C831
square
#317EC8 #C731C8 #C87B31 #32C831
split-complementary
#317EC8 #C83132 #C8C731
monochromatic
#194066 #255F97 #317EC8 #5F9CD8 #90BBE4

Accessibility & contrast

On white

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

On black

4.95
#317EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EC8
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EC8#FFFFFF#000000##000000
##317EC81.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C82CB
Deuteranopia (green-blind)
#4575C7
Tritanopia (blue-blind)
#009099
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #317ec8;
/* rgb */ color: rgb(49, 126, 200);
/* oklch */ color: oklch(58.2% 0.136 250.7);
Tailwind
colors: {
  custom: {
    50: '#7ea2d9',
    500: '#317ec8',
    950: '#000000',
  },
}
SCSS
$custom: #317ec8;
$custom-light: #7ea2d9;
$custom-dark: #000000;
JSON
{
  "hex": "#317ec8",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 209.404,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58195,
    "c": 0.13627,
    "h": 250.7
  },
  "luminance": 0.19745
}

Semantic roles & 50–950 ramp

primary
#317EC8
secondary
#CEAA86
accent
#9244E4
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0F14
muted
#7C7E83

Preview Lab

Preview with #317EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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