#317DC8#317DC8

#317DC8 is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 58.0% C 0.137 H 251.2°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#317DC8
RGBrgb(49, 125, 200)
HSLhsl(210, 61%, 49%)
HSVhsv(210, 76%, 78%)
CMYKcmyk(75.5%, 37.5%, 0%, 21.6%)
CIE-LABlab(51.25, 2.58, -45.60)
CIE-LCHlch(51.25, 45.68, 273.24°)
OKLaboklab(57.97% -0.0442 -0.13)
OKLCHoklch(57.97% 0.137 251.2)
XYZxyz(19.0216, 19.4881, 57.3915)
Luminance0.1949 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DC8 #C87C31
analogous
#31C8C8 #317DC8 #3132C8
triadic
#317DC8 #C8317D #7DC831
tetradic
#317DC8 #C831C8 #C87C31 #32C831
square
#317DC8 #C831C8 #C87C31 #32C831
split-complementary
#317DC8 #C83132 #C8C831
monochromatic
#194066 #255E97 #317DC8 #5F9CD8 #90BAE4

Accessibility & contrast

On white

4.29
#317DC8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#317DC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317DC8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317DC8#FFFFFF#000000##000000
##317DC81.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A82CB
Deuteranopia (green-blind)
#4374C7
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #317dc8;
/* rgb */ color: rgb(49, 125, 200);
/* oklch */ color: oklch(58.0% 0.137 251.2);
Tailwind
colors: {
  custom: {
    50: '#7ea2d9',
    500: '#317dc8',
    950: '#000000',
  },
}
SCSS
$custom: #317dc8;
$custom-light: #7ea2d9;
$custom-dark: #000000;
JSON
{
  "hex": "#317dc8",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 200
  },
  "hsl": {
    "h": 209.801,
    "s": 60.643,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57967,
    "c": 0.13726,
    "h": 251.2
  },
  "luminance": 0.1949
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #317DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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