#317DBE#317DBE

#317DBE is a mid, vivid cyan. Relative luminance 0.190; OKLCH L 57.4% C 0.125 H 247.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#317DBE
RGBrgb(49, 125, 190)
HSLhsl(208, 59%, 47%)
HSVhsv(208, 74%, 75%)
CMYKcmyk(74.2%, 34.2%, 0%, 25.5%)
CIE-LABlab(50.73, -1.07, -40.71)
CIE-LCHlch(50.73, 40.73, 268.49°)
OKLaboklab(57.38% -0.0468 -0.1156)
OKLCHoklch(57.38% 0.125 247.9)
XYZxyz(17.8910, 19.0359, 51.4366)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DBE #BE7231
analogous
#31BEB9 #317DBE #3136BE
triadic
#317DBE #BE317D #7DBE31
tetradic
#317DBE #B931BE #BE7231 #36BE31
square
#317DBE #B931BE #BE7231 #36BE31
split-complementary
#317DBE #BE3136 #BEB931
monochromatic
#183D5D #245D8D #317DBE #589BD4 #89B8E1

Accessibility & contrast

On white

4.37
#317DBE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#317DBE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317DBE
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317DBE#FFFFFF#000000##000000
##317DBE1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F80C1
Deuteranopia (green-blind)
#4B73BD
Tritanopia (blue-blind)
#008D95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #317dbe;
/* rgb */ color: rgb(49, 125, 190);
/* oklch */ color: oklch(57.4% 0.125 247.9);
Tailwind
colors: {
  custom: {
    50: '#7ca2d2',
    500: '#317dbe',
    950: '#000000',
  },
}
SCSS
$custom: #317dbe;
$custom-light: #7ca2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#317dbe",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 190
  },
  "hsl": {
    "h": 207.66,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.57384,
    "c": 0.12478,
    "h": 247.9
  },
  "luminance": 0.19038
}

Semantic roles & 50–950 ramp

primary
#317DBE
secondary
#CAA380
accent
#8E46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0F14
muted
#7C7E82

Preview Lab

Preview with #317DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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