#317BBD#317BBD

#317BBD is a mid, vivid cyan. Relative luminance 0.185; OKLCH L 56.9% C 0.125 H 248.9°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#317BBD
RGBrgb(49, 123, 189)
HSLhsl(208, 59%, 47%)
HSVhsv(208, 74%, 74%)
CMYKcmyk(74.1%, 34.9%, 0%, 25.9%)
CIE-LABlab(50.09, -0.24, -41.16)
CIE-LCHlch(50.09, 41.16, 269.67°)
OKLaboklab(56.86% -0.0452 -0.117)
OKLCHoklch(56.86% 0.125 248.9)
XYZxyz(17.5314, 18.4910, 50.7794)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BBD #BD7331
analogous
#31BDB9 #317BBD #3135BD
triadic
#317BBD #BD317B #7BBD31
tetradic
#317BBD #B931BD #BD7331 #35BD31
square
#317BBD #B931BD #BD7331 #35BD31
split-complementary
#317BBD #BD3135 #BDB931
monochromatic
#183C5C #245B8C #317BBD #5899D4 #88B7E0

Accessibility & contrast

On white

4.47
#317BBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#317BBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317BBD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BBD#FFFFFF#000000##000000
##317BBD1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EC0
Deuteranopia (green-blind)
#4971BC
Tritanopia (blue-blind)
#008B93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #317bbd;
/* rgb */ color: rgb(49, 123, 189);
/* oklch */ color: oklch(56.9% 0.125 248.9);
Tailwind
colors: {
  custom: {
    50: '#7ca0d1',
    500: '#317bbd',
    950: '#000000',
  },
}
SCSS
$custom: #317bbd;
$custom-light: #7ca0d1;
$custom-dark: #000000;
JSON
{
  "hex": "#317bbd",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 189
  },
  "hsl": {
    "h": 208.286,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56862,
    "c": 0.12542,
    "h": 248.9
  },
  "luminance": 0.18493
}

Semantic roles & 50–950 ramp

primary
#317BBD
secondary
#CAA380
accent
#8F46E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #317BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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