#317CBB#317CBB

#317CBB is a mid, vivid cyan. Relative luminance 0.187; OKLCH L 57.0% C 0.122 H 247.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#317CBB
RGBrgb(49, 124, 187)
HSLhsl(207, 58%, 46%)
HSVhsv(207, 74%, 73%)
CMYKcmyk(73.8%, 33.7%, 0%, 26.7%)
CIE-LABlab(50.28, -1.56, -39.70)
CIE-LCHlch(50.28, 39.73, 267.74°)
OKLaboklab(56.98% -0.0467 -0.1127)
OKLCHoklch(56.98% 0.122 247.5)
XYZxyz(17.4405, 18.6541, 49.6855)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CBB #BB7031
analogous
#31BBB5 #317CBB #3137BB
triadic
#317CBB #BB317C #7CBB31
tetradic
#317CBB #B531BB #BB7031 #37BB31
square
#317CBB #B531BB #BB7031 #37BB31
split-complementary
#317CBB #BB3137 #BBB531
monochromatic
#183C5A #245C8B #317CBB #569AD3 #87B7E0

Accessibility & contrast

On white

4.44
#317CBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#317CBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CBB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CBB#FFFFFF#000000##000000
##317CBB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F7FBE
Deuteranopia (green-blind)
#4C72BA
Tritanopia (blue-blind)
#008B93
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #317cbb;
/* rgb */ color: rgb(49, 124, 187);
/* oklch */ color: oklch(57.0% 0.122 247.5);
Tailwind
colors: {
  custom: {
    50: '#7ba1d0',
    500: '#317cbb',
    950: '#000000',
  },
}
SCSS
$custom: #317cbb;
$custom-light: #7ba1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#317cbb",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 187
  },
  "hsl": {
    "h": 207.391,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56981,
    "c": 0.12202,
    "h": 247.5
  },
  "luminance": 0.18656
}

Semantic roles & 50–950 ramp

primary
#317CBB
secondary
#C9A17F
accent
#8D46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #317CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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