#317DB3#317DB3

#317DB3 is a mid, moderate cyan. Relative luminance 0.186; OKLCH L 56.8% C 0.112 H 243.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#317DB3
RGBrgb(49, 125, 179)
HSLhsl(205, 57%, 45%)
HSVhsv(205, 73%, 70%)
CMYKcmyk(72.6%, 30.2%, 0%, 29.8%)
CIE-LABlab(50.18, -5.04, -35.24)
CIE-LCHlch(50.18, 35.60, 261.86°)
OKLaboklab(56.78% -0.0501 -0.0997)
OKLCHoklch(56.78% 0.112 243.3)
XYZxyz(16.7338, 18.5730, 45.3421)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DB3 #B36731
analogous
#31B3A8 #317DB3 #313CB3
triadic
#317DB3 #B3317D #7DB331
tetradic
#317DB3 #A831B3 #B36731 #3CB331
square
#317DB3 #A831B3 #B36731 #3CB331
split-complementary
#317DB3 #B3313C #B3A831
monochromatic
#173A53 #245B83 #317DB3 #529BD0 #82B7DD

Accessibility & contrast

On white

4.45
#317DB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#317DB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317DB3
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317DB3#FFFFFF#000000##000000
##317DB31.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#647EB5
Deuteranopia (green-blind)
#5272B2
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317db3;
/* rgb */ color: rgb(49, 125, 179);
/* oklch */ color: oklch(56.8% 0.112 243.3);
Tailwind
colors: {
  custom: {
    50: '#7aa2ca',
    500: '#317db3',
    950: '#000000',
  },
}
SCSS
$custom: #317db3;
$custom-light: #7aa2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#317db3",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 179
  },
  "hsl": {
    "h": 204.923,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.56775,
    "c": 0.11159,
    "h": 243.3
  },
  "luminance": 0.18575
}

Semantic roles & 50–950 ramp

primary
#317DB3
secondary
#C6997A
accent
#8748E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #317DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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