#317FB8#317FB8

#317FB8 is a mid, moderate cyan. Relative luminance 0.193; OKLCH L 57.5% C 0.116 H 244.1°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#317FB8
RGBrgb(49, 127, 184)
HSLhsl(205, 58%, 46%)
HSVhsv(205, 73%, 72%)
CMYKcmyk(73.4%, 31%, 0%, 27.8%)
CIE-LABlab(51.03, -4.43, -36.80)
CIE-LCHlch(51.03, 37.07, 263.14°)
OKLaboklab(57.52% -0.0505 -0.1042)
OKLCHoklch(57.52% 0.116 244.1)
XYZxyz(17.5044, 19.2904, 48.1390)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FB8 #B86A31
analogous
#31B8AD #317FB8 #313CB8
triadic
#317FB8 #B8317F #7FB831
tetradic
#317FB8 #AD31B8 #B86A31 #3CB831
square
#317FB8 #AD31B8 #B86A31 #3CB831
split-complementary
#317FB8 #B8313C #B8AD31
monochromatic
#173C57 #245E88 #317FB8 #559DD2 #85B9DE

Accessibility & contrast

On white

4.32
#317FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#317FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FB8
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FB8#FFFFFF#000000##000000
##317FB81.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6581BA
Deuteranopia (green-blind)
#5274B7
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #317fb8;
/* rgb */ color: rgb(49, 127, 184);
/* oklch */ color: oklch(57.5% 0.116 244.1);
Tailwind
colors: {
  custom: {
    50: '#7ba3cd',
    500: '#317fb8',
    950: '#000000',
  },
}
SCSS
$custom: #317fb8;
$custom-light: #7ba3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#317fb8",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 184
  },
  "hsl": {
    "h": 205.333,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.57519,
    "c": 0.11581,
    "h": 244.1
  },
  "luminance": 0.19292
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #317FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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