#6174DB#6174DB

#6174DB is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.5% C 0.157 H 272.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6174DB
RGBrgb(97, 116, 219)
HSLhsl(231, 63%, 62%)
HSVhsv(231, 56%, 86%)
CMYKcmyk(55.7%, 47%, 0%, 14.1%)
CIE-LABlab(52.00, 22.74, -55.07)
CIE-LCHlch(52.00, 59.58, 292.43°)
OKLaboklab(59.48% 0.0079 -0.157)
OKLCHoklch(59.48% 0.157 272.9)
XYZxyz(23.9572, 20.1449, 69.6300)
Luminance0.2015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6174DB #DBC861
analogous
#61B1DB #6174DB #8B61DB
triadic
#6174DB #DB6174 #74DB61
tetradic
#6174DB #DB61B1 #DBC861 #61DB8B
square
#6174DB #DB61B1 #DBC861 #61DB8B
split-complementary
#6174DB #DB8B61 #B1DB61
monochromatic
#24379E #2F48D0 #6174DB #93A0E6 #C5CCF2

Accessibility & contrast

On white

4.18
#6174DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#6174DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #6174DB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6174DB#FFFFFF#000000##000000
##6174DB1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4381DF
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#1A8B9D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #6174db;
/* rgb */ color: rgb(97, 116, 219);
/* oklch */ color: oklch(59.5% 0.157 272.9);
Tailwind
colors: {
  custom: {
    50: '#979be7',
    500: '#6174db',
    950: '#000000',
  },
}
SCSS
$custom: #6174db;
$custom-light: #979be7;
$custom-dark: #000000;
JSON
{
  "hex": "#6174db",
  "rgb": {
    "r": 97,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 230.656,
    "s": 62.887,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59475,
    "c": 0.15725,
    "h": 272.9
  },
  "luminance": 0.20147
}

Semantic roles & 50–950 ramp

primary
#6174DB
secondary
#E2DBB5
accent
#AF1BCB
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #6174DB

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

Preview Lab → · Contrast checker → · Palette generator →

#6174DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva