#317BDB#317BDB

#317BDB is a mid, vivid cyan. Relative luminance 0.199; OKLCH L 58.7% C 0.164 H 256.5°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#317BDB
RGBrgb(49, 123, 219)
HSLhsl(214, 70%, 53%)
HSVhsv(214, 78%, 86%)
CMYKcmyk(77.6%, 43.8%, 0%, 14.1%)
CIE-LABlab(51.76, 10.83, -55.57)
CIE-LCHlch(51.76, 56.62, 281.03°)
OKLaboklab(58.71% -0.0383 -0.1593)
OKLCHoklch(58.71% 0.164 256.5)
XYZxyz(21.1310, 19.9309, 69.7374)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317BDB #DB9131
analogous
#31D0DB #317BDB #3C31DB
triadic
#317BDB #DB317B #7BDB31
tetradic
#317BDB #DB31D0 #DB9131 #31DB3C
square
#317BDB #DB31D0 #DB9131 #31DB3C
split-complementary
#317BDB #DB3C31 #D0DB31
monochromatic
#16427C #1F5EB0 #317BDB #659CE4 #99BEED

Accessibility & contrast

On white

4.21
#317BDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#317BDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317BDB
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317BDB#FFFFFF#000000##000000
##317BDB1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A84DF
Deuteranopia (green-blind)
#2774D9
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #317bdb;
/* rgb */ color: rgb(49, 123, 219);
/* oklch */ color: oklch(58.7% 0.164 256.5);
Tailwind
colors: {
  custom: {
    50: '#81a0e7',
    500: '#317bdb',
    950: '#000000',
  },
}
SCSS
$custom: #317bdb;
$custom-light: #81a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#317bdb",
  "rgb": {
    "r": 49,
    "g": 123,
    "b": 219
  },
  "hsl": {
    "h": 213.882,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58709,
    "c": 0.1638,
    "h": 256.5
  },
  "luminance": 0.19933
}

Semantic roles & 50–950 ramp

primary
#317BDB
secondary
#D9B98F
accent
#9F3BED
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #317BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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