#6159EE#6159EE

#6159EE is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.0% C 0.216 H 279.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6159EE
RGBrgb(97, 89, 238)
HSLhsl(243, 81%, 64%)
HSVhsv(243, 63%, 93%)
CMYKcmyk(59.2%, 62.6%, 0%, 6.7%)
CIE-LABlab(46.79, 45.09, -74.20)
CIE-LCHlch(46.79, 86.83, 301.28°)
OKLaboklab(56% 0.0345 -0.2135)
OKLCHoklch(56% 0.216 279.2)
XYZxyz(23.9299, 15.8574, 82.6721)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159EE #E6EE59
analogous
#599CEE #6159EE #AB59EE
triadic
#6159EE #EE6159 #59EE61
tetradic
#6159EE #EE599C #E6EE59 #59EEAB
square
#6159EE #EE599C #E6EE59 #59EEAB
split-complementary
#6159EE #EEAB59 #9CEE59
monochromatic
#1C13BA #2C21E8 #6159EE #9691F4 #CBC8F9

Accessibility & contrast

On white

5.03
#6159EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#6159EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159EE
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159EE#FFFFFF#000000##FFFFFF
##6159EE1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F3
Deuteranopia (green-blind)
#0069EB
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6159ee;
/* rgb */ color: rgb(97, 89, 238);
/* oklch */ color: oklch(56.0% 0.216 279.2);
Tailwind
colors: {
  custom: {
    50: '#9b88f5',
    500: '#6159ee',
    950: '#000000',
  },
}
SCSS
$custom: #6159ee;
$custom-light: #9b88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6159ee",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 238
  },
  "hsl": {
    "h": 243.221,
    "s": 81.421,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55997,
    "c": 0.21632,
    "h": 279.2
  },
  "luminance": 0.15859
}

Semantic roles & 50–950 ramp

primary
#6159EE
secondary
#E9EBB7
accent
#DE08D2
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6159EE

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

Preview Lab → · Contrast checker → · Palette generator →

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