#317DBF#317DBF

#317DBF is a mid, vivid cyan. Relative luminance 0.191; OKLCH L 57.4% C 0.126 H 248.3°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#317DBF
RGBrgb(49, 125, 191)
HSLhsl(208, 59%, 47%)
HSVhsv(208, 74%, 75%)
CMYKcmyk(74.3%, 34.6%, 0%, 25.1%)
CIE-LABlab(50.78, -0.71, -41.21)
CIE-LCHlch(50.78, 41.21, 269.01°)
OKLaboklab(57.44% -0.0466 -0.1171)
OKLCHoklch(57.44% 0.126 248.3)
XYZxyz(18.0006, 19.0797, 52.0142)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317DBF #BF7331
analogous
#31BFBA #317DBF #3136BF
triadic
#317DBF #BF317D #7DBF31
tetradic
#317DBF #BA31BF #BF7331 #36BF31
square
#317DBF #BA31BF #BF7331 #36BF31
split-complementary
#317DBF #BF3136 #BFBA31
monochromatic
#183D5E #255D8E #317DBF #599BD4 #8AB8E1

Accessibility & contrast

On white

4.36
#317DBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#317DBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317DBF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317DBF#FFFFFF#000000##000000
##317DBF1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F80C2
Deuteranopia (green-blind)
#4A73BE
Tritanopia (blue-blind)
#008D95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #317dbf;
/* rgb */ color: rgb(49, 125, 191);
/* oklch */ color: oklch(57.4% 0.126 248.3);
Tailwind
colors: {
  custom: {
    50: '#7ca2d2',
    500: '#317dbf',
    950: '#000000',
  },
}
SCSS
$custom: #317dbf;
$custom-light: #7ca2d2;
$custom-dark: #000000;
JSON
{
  "hex": "#317dbf",
  "rgb": {
    "r": 49,
    "g": 125,
    "b": 191
  },
  "hsl": {
    "h": 207.887,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57441,
    "c": 0.12601,
    "h": 248.3
  },
  "luminance": 0.19082
}

Semantic roles & 50–950 ramp

primary
#317DBF
secondary
#CBA381
accent
#8E45E2
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0F14
muted
#7C7E82

Preview Lab

Preview with #317DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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