#317ADB#317ADB

#317ADB is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.5% C 0.165 H 256.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#317ADB
RGBrgb(49, 122, 219)
HSLhsl(214, 70%, 53%)
HSVhsv(214, 78%, 86%)
CMYKcmyk(77.6%, 44.3%, 0%, 14.1%)
CIE-LABlab(51.48, 11.45, -56.02)
CIE-LCHlch(51.48, 57.18, 281.56°)
OKLaboklab(58.49% -0.0375 -0.1606)
OKLCHoklch(58.49% 0.165 256.9)
XYZxyz(21.0076, 19.6840, 69.6963)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317ADB #DB9231
analogous
#31CFDB #317ADB #3D31DB
triadic
#317ADB #DB317A #7ADB31
tetradic
#317ADB #DB31CF #DB9231 #31DB3D
square
#317ADB #DB31CF #DB9231 #31DB3D
split-complementary
#317ADB #DB3D31 #CFDB31
monochromatic
#16427C #1F5DB0 #317ADB #659CE4 #99BDED

Accessibility & contrast

On white

4.25
#317ADB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#317ADB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #317ADB
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317ADB#FFFFFF#000000##000000
##317ADB1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883DF
Deuteranopia (green-blind)
#2474D9
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #317adb;
/* rgb */ color: rgb(49, 122, 219);
/* oklch */ color: oklch(58.5% 0.165 256.9);
Tailwind
colors: {
  custom: {
    50: '#829fe7',
    500: '#317adb',
    950: '#000000',
  },
}
SCSS
$custom: #317adb;
$custom-light: #829fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#317adb",
  "rgb": {
    "r": 49,
    "g": 122,
    "b": 219
  },
  "hsl": {
    "h": 214.235,
    "s": 70.248,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58492,
    "c": 0.16493,
    "h": 256.9
  },
  "luminance": 0.19687
}

Semantic roles & 50–950 ramp

primary
#317ADB
secondary
#D9B98F
accent
#A03BED
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #317ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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