#6170CB#6170CB

#6170CB is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.7% C 0.140 H 274.1°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#6170CB
RGBrgb(97, 112, 203)
HSLhsl(232, 50%, 59%)
HSVhsv(232, 52%, 80%)
CMYKcmyk(52.2%, 44.8%, 0%, 20.4%)
CIE-LABlab(50.03, 20.06, -49.14)
CIE-LCHlch(50.03, 53.07, 292.21°)
OKLaboklab(57.67% 0.0101 -0.1397)
OKLCHoklch(57.67% 0.14 274.1)
XYZxyz(21.5000, 18.4401, 58.9147)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6170CB #CBBC61
analogous
#61A5CB #6170CB #8761CB
triadic
#6170CB #CB6170 #70CB61
tetradic
#6170CB #CB61A5 #CBBC61 #61CB87
square
#6170CB #CB61A5 #CBBC61 #61CB87
split-complementary
#6170CB #CB8761 #A5CB61
monochromatic
#2C3986 #3B4CB4 #6170CB #8F9ADA #BDC3E9

Accessibility & contrast

On white

4.48
#6170CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#6170CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6170CB
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6170CB#FFFFFF#000000##000000
##6170CB1.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#497CCE
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#318494
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #6170cb;
/* rgb */ color: rgb(97, 112, 203);
/* oklch */ color: oklch(57.7% 0.140 274.1);
Tailwind
colors: {
  custom: {
    50: '#9598db',
    500: '#6170cb',
    950: '#000000',
  },
}
SCSS
$custom: #6170cb;
$custom-light: #9598db;
$custom-dark: #000000;
JSON
{
  "hex": "#6170cb",
  "rgb": {
    "r": 97,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 231.509,
    "s": 50.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57672,
    "c": 0.14003,
    "h": 274.1
  },
  "luminance": 0.18442
}

Semantic roles & 50–950 ramp

primary
#6170CB
secondary
#D9D3AF
accent
#C64EDA
background
#F9F9FD
surface
#F2F2FB
border
#CCCCD4
text
#0E0D15
muted
#7E7E83

Preview Lab

Preview with #6170CB

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

Preview Lab → · Contrast checker → · Palette generator →

#6170CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva