#317EB8#317EB8

#317EB8 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.3% C 0.117 H 244.9°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#317EB8
RGBrgb(49, 126, 184)
HSLhsl(206, 58%, 46%)
HSVhsv(206, 73%, 72%)
CMYKcmyk(73.4%, 31.5%, 0%, 27.8%)
CIE-LABlab(50.73, -3.84, -37.27)
CIE-LCHlch(50.73, 37.47, 264.12°)
OKLaboklab(57.28% -0.0496 -0.1056)
OKLCHoklch(57.28% 0.117 244.9)
XYZxyz(17.3759, 19.0334, 48.0962)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EB8 #B86B31
analogous
#31B8AE #317EB8 #313AB8
triadic
#317EB8 #B8317E #7EB831
tetradic
#317EB8 #AE31B8 #B86B31 #3AB831
square
#317EB8 #AE31B8 #B86B31 #3AB831
split-complementary
#317EB8 #B8313A #B8AE31
monochromatic
#173C57 #245D88 #317EB8 #559CD2 #85B8DE

Accessibility & contrast

On white

4.37
#317EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#317EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EB8
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EB8#FFFFFF#000000##000000
##317EB81.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6380BB
Deuteranopia (green-blind)
#5173B7
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #317eb8;
/* rgb */ color: rgb(49, 126, 184);
/* oklch */ color: oklch(57.3% 0.117 244.9);
Tailwind
colors: {
  custom: {
    50: '#7ba3cd',
    500: '#317eb8',
    950: '#000000',
  },
}
SCSS
$custom: #317eb8;
$custom-light: #7ba3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#317eb8",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 184
  },
  "hsl": {
    "h": 205.778,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.57283,
    "c": 0.11665,
    "h": 244.9
  },
  "luminance": 0.19035
}

Semantic roles & 50–950 ramp

primary
#317EB8
secondary
#C89D7D
accent
#8947E1
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #317EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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