#317DB9#317DB9

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

Color values

HEX#317DB9
RGBrgb(49, 125, 185)
HSLhsl(206, 58%, 46%)
HSVhsv(206, 74%, 73%)
CMYKcmyk(73.5%, 32.4%, 0%, 27.5%)
CIE-LABlab(50.48, -2.89, -38.24)
CIE-LCHlch(50.48, 38.35, 265.68°)
OKLaboklab(57.1% -0.0483 -0.1084)
OKLCHoklch(57.1% 0.119 246)
XYZxyz(17.3538, 18.8210, 48.6078)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DB9 #B96D31
analogous
#31B9B1 #317DB9 #3139B9
triadic
#317DB9 #B9317D #7DB931
tetradic
#317DB9 #B131B9 #B96D31 #39B931
square
#317DB9 #B131B9 #B96D31 #39B931
split-complementary
#317DB9 #B93139 #B9B131
monochromatic
#173C58 #245C89 #317DB9 #559BD2 #86B7DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317DB9#FFFFFF#000000##000000
##317DB91.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)
#627FBC
Deuteranopia (green-blind)
#4F72B8
Tritanopia (blue-blind)
#008B92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317db9;
/* rgb */ color: rgb(49, 125, 185);
/* oklch */ color: oklch(57.1% 0.119 246.0);
Tailwind
colors: {
  custom: {
    50: '#7ba2ce',
    500: '#317db9',
    950: '#000000',
  },
}
SCSS
$custom: #317db9;
$custom-light: #7ba2ce;
$custom-dark: #000000;
JSON
{
  "hex": "#317db9",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 185
  },
  "hsl": {
    "h": 206.471,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57103,
    "c": 0.1187,
    "h": 246
  },
  "luminance": 0.18823
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #317DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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