#317FB1#317FB1

#317FB1 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.1% C 0.108 H 240.7°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#317FB1
RGBrgb(49, 127, 177)
HSLhsl(203, 57%, 44%)
HSVhsv(203, 72%, 69%)
CMYKcmyk(72.3%, 28.2%, 0%, 30.6%)
CIE-LABlab(50.69, -6.92, -33.29)
CIE-LCHlch(50.69, 34.00, 258.25°)
OKLaboklab(57.15% -0.0527 -0.094)
OKLCHoklch(57.15% 0.108 240.7)
XYZxyz(16.7887, 19.0041, 44.3698)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317FB1 #B16331
analogous
#31B1A3 #317FB1 #313FB1
triadic
#317FB1 #B1317F #7FB131
tetradic
#317FB1 #A331B1 #B16331 #3FB131
square
#317FB1 #A331B1 #B16331 #3FB131
split-complementary
#317FB1 #B1313F #B1A331
monochromatic
#163A51 #245D81 #317FB1 #519DCF #80B8DC

Accessibility & contrast

On white

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

On black

4.80
#317FB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317FB1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317FB1#FFFFFF#000000##000000
##317FB11.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#687FB3
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #317fb1;
/* rgb */ color: rgb(49, 127, 177);
/* oklch */ color: oklch(57.1% 0.108 240.7);
Tailwind
colors: {
  custom: {
    50: '#7aa4c8',
    500: '#317fb1',
    950: '#000000',
  },
}
SCSS
$custom: #317fb1;
$custom-light: #7aa4c8;
$custom-dark: #000000;
JSON
{
  "hex": "#317fb1",
  "rgb": {
    "r": 49,
    "g": 127,
    "b": 177
  },
  "hsl": {
    "h": 203.438,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57146,
    "c": 0.1078,
    "h": 240.7
  },
  "luminance": 0.19006
}

Semantic roles & 50–950 ramp

primary
#317FB1
secondary
#C59779
accent
#8348E0
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #317FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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