#317FB9#317FB9

#317FB9 is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.6% C 0.117 H 244.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#317FB9
RGBrgb(49, 127, 185)
HSLhsl(206, 58%, 46%)
HSVhsv(206, 74%, 73%)
CMYKcmyk(73.5%, 31.4%, 0%, 27.5%)
CIE-LABlab(51.07, -4.07, -37.30)
CIE-LCHlch(51.07, 37.52, 263.77°)
OKLaboklab(57.57% -0.0502 -0.1057)
OKLCHoklch(57.57% 0.117 244.6)
XYZxyz(17.6096, 19.3325, 48.6930)
Luminance0.1933 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FB9 #B96B31
analogous
#31B9AF #317FB9 #313BB9
triadic
#317FB9 #B9317F #7FB931
tetradic
#317FB9 #AF31B9 #B96B31 #3BB931
square
#317FB9 #AF31B9 #B96B31 #3BB931
split-complementary
#317FB9 #B9313B #B9AF31
monochromatic
#173D58 #245E89 #317FB9 #559DD2 #86B9DF

Accessibility & contrast

On white

4.31
#317FB9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#317FB9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FB9
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FB9#FFFFFF#000000##000000
##317FB91.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6481BC
Deuteranopia (green-blind)
#5274B8
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #317fb9;
/* rgb */ color: rgb(49, 127, 185);
/* oklch */ color: oklch(57.6% 0.117 244.6);
Tailwind
colors: {
  custom: {
    50: '#7ba3ce',
    500: '#317fb9',
    950: '#000000',
  },
}
SCSS
$custom: #317fb9;
$custom-light: #7ba3ce;
$custom-dark: #000000;
JSON
{
  "hex": "#317fb9",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 185
  },
  "hsl": {
    "h": 205.588,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57574,
    "c": 0.11699,
    "h": 244.6
  },
  "luminance": 0.19334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #317FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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