#6159C8#6159C8

#6159C8 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.1% C 0.167 H 282.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#6159C8
RGBrgb(97, 89, 200)
HSLhsl(244, 50%, 57%)
HSVhsv(244, 56%, 78%)
CMYKcmyk(51.5%, 55.5%, 0%, 21.6%)
CIE-LABlab(44.02, 33.24, -57.04)
CIE-LCHlch(44.02, 66.02, 300.23°)
OKLaboklab(53.09% 0.0357 -0.1631)
OKLCHoklch(53.09% 0.167 282.3)
XYZxyz(18.9243, 13.8552, 56.3095)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159C8 #C0C859
analogous
#5989C8 #6159C8 #9959C8
triadic
#6159C8 #C86159 #59C861
tetradic
#6159C8 #C85989 #C0C859 #59C899
square
#6159C8 #C85989 #C0C859 #59C899
split-complementary
#6159C8 #C89959 #89C859
monochromatic
#2F297D #4139AB #6159C8 #8D87D7 #B9B5E6

Accessibility & contrast

On white

5.57
#6159C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6159C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159C8
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159C8#FFFFFF#000000##FFFFFF
##6159C81.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106CCC
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#387288
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6159c8;
/* rgb */ color: rgb(97, 89, 200);
/* oklch */ color: oklch(53.1% 0.167 282.3);
Tailwind
colors: {
  custom: {
    50: '#9588d9',
    500: '#6159c8',
    950: '#000000',
  },
}
SCSS
$custom: #6159c8;
$custom-light: #9588d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6159c8",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 200
  },
  "hsl": {
    "h": 244.324,
    "s": 50.226,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53094,
    "c": 0.16695,
    "h": 282.3
  },
  "luminance": 0.13856
}

Semantic roles & 50–950 ramp

primary
#6159C8
secondary
#D2D5A8
accent
#DA4ED0
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6159C8

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

Preview Lab → · Contrast checker → · Palette generator →

#6159C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva