#317EB5#317EB5

#317EB5 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.113 H 243.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#317EB5
RGBrgb(49, 126, 181)
HSLhsl(205, 57%, 45%)
HSVhsv(205, 73%, 71%)
CMYKcmyk(72.9%, 30.4%, 0%, 29%)
CIE-LABlab(50.58, -4.91, -35.77)
CIE-LCHlch(50.58, 36.11, 262.18°)
OKLaboklab(57.12% -0.0505 -0.1012)
OKLCHoklch(57.12% 0.113 243.5)
XYZxyz(17.0648, 18.9089, 46.4575)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EB5 #B56831
analogous
#31B5AA #317EB5 #313CB5
triadic
#317EB5 #B5317E #7EB531
tetradic
#317EB5 #AA31B5 #B56831 #3CB531
square
#317EB5 #AA31B5 #B56831 #3CB531
split-complementary
#317EB5 #B5313C #B5AA31
monochromatic
#173B55 #245C85 #317EB5 #539CD0 #83B8DD

Accessibility & contrast

On white

4.39
#317EB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#317EB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EB5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EB5#FFFFFF#000000##000000
##317EB51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB7
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317eb5;
/* rgb */ color: rgb(49, 126, 181);
/* oklch */ color: oklch(57.1% 0.113 243.5);
Tailwind
colors: {
  custom: {
    50: '#7aa3cb',
    500: '#317eb5',
    950: '#000000',
  },
}
SCSS
$custom: #317eb5;
$custom-light: #7aa3cb;
$custom-dark: #000000;
JSON
{
  "hex": "#317eb5",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 181
  },
  "hsl": {
    "h": 205,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.5712,
    "c": 0.11312,
    "h": 243.5
  },
  "luminance": 0.18911
}

Semantic roles & 50–950 ramp

primary
#317EB5
secondary
#C79B7B
accent
#8747E1
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #317EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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