#317CBF#317CBF

#317CBF is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.2% C 0.127 H 248.9°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#317CBF
RGBrgb(49, 124, 191)
HSLhsl(208, 59%, 47%)
HSVhsv(208, 74%, 75%)
CMYKcmyk(74.3%, 35.1%, 0%, 25.1%)
CIE-LABlab(50.49, -0.11, -41.67)
CIE-LCHlch(50.49, 41.67, 269.85°)
OKLaboklab(57.21% -0.0456 -0.1185)
OKLCHoklch(57.21% 0.127 248.9)
XYZxyz(17.8747, 18.8278, 51.9722)
Luminance0.1883 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CBF #BF7431
analogous
#31BFBB #317CBF #3135BF
triadic
#317CBF #BF317C #7CBF31
tetradic
#317CBF #BB31BF #BF7431 #35BF31
square
#317CBF #BB31BF #BF7431 #35BF31
split-complementary
#317CBF #BF3135 #BFBB31
monochromatic
#183D5E #255C8E #317CBF #599AD4 #8AB8E1

Accessibility & contrast

On white

4.41
#317CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#317CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CBF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CBF#FFFFFF#000000##000000
##317CBF1.004.414.774.77
#FFFFFF4.411.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7FC2
Deuteranopia (green-blind)
#4972BE
Tritanopia (blue-blind)
#008C94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317cbf;
/* rgb */ color: rgb(49, 124, 191);
/* oklch */ color: oklch(57.2% 0.127 248.9);
Tailwind
colors: {
  custom: {
    50: '#7ca1d2',
    500: '#317cbf',
    950: '#000000',
  },
}
SCSS
$custom: #317cbf;
$custom-light: #7ca1d2;
$custom-dark: #000000;
JSON
{
  "hex": "#317cbf",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 191
  },
  "hsl": {
    "h": 208.31,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57209,
    "c": 0.12695,
    "h": 248.9
  },
  "luminance": 0.1883
}

Semantic roles & 50–950 ramp

primary
#317CBF
secondary
#CBA481
accent
#8F45E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #317CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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