#317BBF#317BBF

#317BBF is a mid, vivid cyan. Relative luminance 0.186; OKLCH L 57.0% C 0.128 H 249.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#317BBF
RGBrgb(49, 123, 191)
HSLhsl(209, 59%, 47%)
HSVhsv(209, 74%, 75%)
CMYKcmyk(74.3%, 35.6%, 0%, 25.1%)
CIE-LABlab(50.19, 0.49, -42.14)
CIE-LCHlch(50.19, 42.14, 270.67°)
OKLaboklab(56.98% -0.0447 -0.1198)
OKLCHoklch(56.98% 0.128 249.5)
XYZxyz(17.7500, 18.5784, 51.9306)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BBF #BF7531
analogous
#31BFBC #317BBF #3134BF
triadic
#317BBF #BF317B #7BBF31
tetradic
#317BBF #BC31BF #BF7531 #34BF31
square
#317BBF #BC31BF #BF7531 #34BF31
split-complementary
#317BBF #BF3134 #BFBC31
monochromatic
#183C5E #255C8E #317BBF #5999D4 #8AB7E1

Accessibility & contrast

On white

4.45
#317BBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#317BBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317BBF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BBF#FFFFFF#000000##000000
##317BBF1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7FC2
Deuteranopia (green-blind)
#4771BE
Tritanopia (blue-blind)
#008B94
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317bbf;
/* rgb */ color: rgb(49, 123, 191);
/* oklch */ color: oklch(57.0% 0.128 249.5);
Tailwind
colors: {
  custom: {
    50: '#7ca0d2',
    500: '#317bbf',
    950: '#000000',
  },
}
SCSS
$custom: #317bbf;
$custom-light: #7ca0d2;
$custom-dark: #000000;
JSON
{
  "hex": "#317bbf",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 191
  },
  "hsl": {
    "h": 208.732,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56978,
    "c": 0.12791,
    "h": 249.5
  },
  "luminance": 0.1858
}

Semantic roles & 50–950 ramp

primary
#317BBF
secondary
#CBA481
accent
#9145E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #317BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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