#317EB9#317EB9

#317EB9 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.118 H 245.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#317EB9
RGBrgb(49, 126, 185)
HSLhsl(206, 58%, 46%)
HSVhsv(206, 74%, 73%)
CMYKcmyk(73.5%, 31.9%, 0%, 27.5%)
CIE-LABlab(50.78, -3.48, -37.77)
CIE-LCHlch(50.78, 37.93, 264.74°)
OKLaboklab(57.34% -0.0493 -0.107)
OKLCHoklch(57.34% 0.118 245.3)
XYZxyz(17.4811, 19.0755, 48.6502)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317EB9 #B96C31
analogous
#31B9B0 #317EB9 #313AB9
triadic
#317EB9 #B9317E #7EB931
tetradic
#317EB9 #B031B9 #B96C31 #3AB931
square
#317EB9 #B031B9 #B96C31 #3AB931
split-complementary
#317EB9 #B9313A #B9B031
monochromatic
#173C58 #245D89 #317EB9 #559CD2 #86B8DF

Accessibility & contrast

On white

4.36
#317EB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#317EB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317EB9
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317EB9#FFFFFF#000000##000000
##317EB91.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6380BC
Deuteranopia (green-blind)
#5073B8
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #317eb9;
/* rgb */ color: rgb(49, 126, 185);
/* oklch */ color: oklch(57.3% 0.118 245.3);
Tailwind
colors: {
  custom: {
    50: '#7ba3ce',
    500: '#317eb9',
    950: '#000000',
  },
}
SCSS
$custom: #317eb9;
$custom-light: #7ba3ce;
$custom-dark: #000000;
JSON
{
  "hex": "#317eb9",
  "rgb": {
    "r": 49,
    "g": 126,
    "b": 185
  },
  "hsl": {
    "h": 206.029,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57338,
    "c": 0.11784,
    "h": 245.3
  },
  "luminance": 0.19077
}

Semantic roles & 50–950 ramp

primary
#317EB9
secondary
#C89E7D
accent
#8A46E1
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F13
muted
#7C7F82

Preview Lab

Preview with #317EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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