#317CBE#317CBE

#317CBE is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.2% C 0.126 H 248.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#317CBE
RGBrgb(49, 124, 190)
HSLhsl(208, 59%, 47%)
HSVhsv(208, 74%, 75%)
CMYKcmyk(74.2%, 34.7%, 0%, 25.5%)
CIE-LABlab(50.43, -0.47, -41.18)
CIE-LCHlch(50.43, 41.18, 269.34°)
OKLaboklab(57.15% -0.0459 -0.117)
OKLCHoklch(57.15% 0.126 248.6)
XYZxyz(17.7650, 18.7839, 51.3946)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CBE #BE7331
analogous
#31BEBA #317CBE #3136BE
triadic
#317CBE #BE317C #7CBE31
tetradic
#317CBE #BA31BE #BE7331 #36BE31
square
#317CBE #BA31BE #BE7331 #36BE31
split-complementary
#317CBE #BE3136 #BEBA31
monochromatic
#183C5D #245C8D #317CBE #589AD4 #89B7E1

Accessibility & contrast

On white

4.41
#317CBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#317CBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CBE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CBE#FFFFFF#000000##000000
##317CBE1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7FC1
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#008C94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317cbe;
/* rgb */ color: rgb(49, 124, 190);
/* oklch */ color: oklch(57.2% 0.126 248.6);
Tailwind
colors: {
  custom: {
    50: '#7ca1d2',
    500: '#317cbe',
    950: '#000000',
  },
}
SCSS
$custom: #317cbe;
$custom-light: #7ca1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#317cbe",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 190
  },
  "hsl": {
    "h": 208.085,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57152,
    "c": 0.12572,
    "h": 248.6
  },
  "luminance": 0.18786
}

Semantic roles & 50–950 ramp

primary
#317CBE
secondary
#CAA380
accent
#8F46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #317CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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