#317DB4#317DB4

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

Color values

HEX#317DB4
RGBrgb(49, 125, 180)
HSLhsl(205, 57%, 45%)
HSVhsv(205, 73%, 71%)
CMYKcmyk(72.8%, 30.6%, 0%, 29.4%)
CIE-LABlab(50.23, -4.68, -35.74)
CIE-LCHlch(50.23, 36.05, 262.54°)
OKLaboklab(56.83% -0.0498 -0.1012)
OKLCHoklch(56.83% 0.113 243.8)
XYZxyz(16.8353, 18.6136, 45.8767)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DB4 #B46831
analogous
#31B4AA #317DB4 #313BB4
triadic
#317DB4 #B4317D #7DB431
tetradic
#317DB4 #AA31B4 #B46831 #3BB431
square
#317DB4 #AA31B4 #B46831 #3BB431
split-complementary
#317DB4 #B4313B #B4AA31
monochromatic
#173A54 #245C84 #317DB4 #529BD0 #82B7DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##317DB4#FFFFFF#000000##000000
##317DB41.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)
#647EB6
Deuteranopia (green-blind)
#5272B3
Tritanopia (blue-blind)
#008A90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317db4;
/* rgb */ color: rgb(49, 125, 180);
/* oklch */ color: oklch(56.8% 0.113 243.8);
Tailwind
colors: {
  custom: {
    50: '#7aa2ca',
    500: '#317db4',
    950: '#000000',
  },
}
SCSS
$custom: #317db4;
$custom-light: #7aa2ca;
$custom-dark: #000000;
JSON
{
  "hex": "#317db4",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 180
  },
  "hsl": {
    "h": 205.191,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56829,
    "c": 0.11276,
    "h": 243.8
  },
  "luminance": 0.18615
}

Semantic roles & 50–950 ramp

primary
#317DB4
secondary
#C69A7B
accent
#8847E0
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #317DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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