#317CDB#317CDB

#317CDB is a mid, vivid cyan. Relative luminance 0.202; OKLCH L 58.9% C 0.163 H 256.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#317CDB
RGBrgb(49, 124, 219)
HSLhsl(214, 70%, 53%)
HSVhsv(214, 78%, 86%)
CMYKcmyk(77.6%, 43.4%, 0%, 14.1%)
CIE-LABlab(52.04, 10.22, -55.12)
CIE-LCHlch(52.04, 56.06, 280.50°)
OKLaboklab(58.93% -0.0391 -0.1579)
OKLCHoklch(58.93% 0.163 256.1)
XYZxyz(21.2557, 20.1802, 69.7790)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317CDB #DB9031
analogous
#31D1DB #317CDB #3B31DB
triadic
#317CDB #DB317C #7CDB31
tetradic
#317CDB #DB31D1 #DB9031 #31DB3B
square
#317CDB #DB31D1 #DB9031 #31DB3B
split-complementary
#317CDB #DB3B31 #D1DB31
monochromatic
#16437C #1F5FB0 #317CDB #659DE4 #99BEED

Accessibility & contrast

On white

4.17
#317CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#317CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317CDB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317CDB#FFFFFF#000000##000000
##317CDB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C84DF
Deuteranopia (green-blind)
#2A75D9
Tritanopia (blue-blind)
#0093A1
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #317cdb;
/* rgb */ color: rgb(49, 124, 219);
/* oklch */ color: oklch(58.9% 0.163 256.1);
Tailwind
colors: {
  custom: {
    50: '#81a1e7',
    500: '#317cdb',
    950: '#000000',
  },
}
SCSS
$custom: #317cdb;
$custom-light: #81a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#317cdb",
  "rgb": {
    "r": 49,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 213.529,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58927,
    "c": 0.16269,
    "h": 256.1
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#317CDB
secondary
#D9B88F
accent
#9E3BED
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #317CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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