#317DB8#317DB8

#317DB8 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.117 H 245.6°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#317DB8
RGBrgb(49, 125, 184)
HSLhsl(206, 58%, 46%)
HSVhsv(206, 73%, 72%)
CMYKcmyk(73.4%, 32.1%, 0%, 27.8%)
CIE-LABlab(50.43, -3.25, -37.74)
CIE-LCHlch(50.43, 37.88, 265.09°)
OKLaboklab(57.05% -0.0486 -0.107)
OKLCHoklch(57.05% 0.118 245.6)
XYZxyz(17.2487, 18.7789, 48.0537)
Luminance0.1878 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DB8 #B86C31
analogous
#31B8AF #317DB8 #313AB8
triadic
#317DB8 #B8317D #7DB831
tetradic
#317DB8 #AF31B8 #B86C31 #3AB831
square
#317DB8 #AF31B8 #B86C31 #3AB831
split-complementary
#317DB8 #B8313A #B8AF31
monochromatic
#173B57 #245C88 #317DB8 #559BD2 #85B7DE

Accessibility & contrast

On white

4.42
#317DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##317DB8#FFFFFF#000000##000000
##317DB81.004.424.764.76
#FFFFFF4.421.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#627FBB
Deuteranopia (green-blind)
#4F72B7
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317db8;
/* rgb */ color: rgb(49, 125, 184);
/* oklch */ color: oklch(57.0% 0.117 245.6);
Tailwind
colors: {
  custom: {
    50: '#7ba2cd',
    500: '#317db8',
    950: '#000000',
  },
}
SCSS
$custom: #317db8;
$custom-light: #7ba2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#317db8",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 184
  },
  "hsl": {
    "h": 206.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.57048,
    "c": 0.1175,
    "h": 245.6
  },
  "luminance": 0.18781
}

Semantic roles & 50–950 ramp

primary
#317DB8
secondary
#C89E7D
accent
#8A47E1
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0F13
muted
#7C7E82

Preview Lab

Preview with #317DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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