#6159E5#6159E5

#6159E5 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.3% C 0.205 H 279.9°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6159E5
RGBrgb(97, 89, 229)
HSLhsl(243, 73%, 62%)
HSVhsv(243, 61%, 90%)
CMYKcmyk(57.6%, 61.1%, 0%, 10.2%)
CIE-LABlab(46.10, 42.28, -70.25)
CIE-LCHlch(46.10, 81.99, 301.04°)
OKLaboklab(55.28% 0.0351 -0.2019)
OKLCHoklch(55.28% 0.205 279.9)
XYZxyz(22.6405, 15.3417, 75.8817)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159E5 #DDE559
analogous
#5997E5 #6159E5 #A759E5
triadic
#6159E5 #E56159 #59E561
tetradic
#6159E5 #E55997 #DDE559 #59E5A7
square
#6159E5 #E55997 #DDE559 #59E5A7
split-complementary
#6159E5 #E5A759 #97E559
monochromatic
#231AA9 #2F24DD #6159E5 #938EED #C6C3F6

Accessibility & contrast

On white

5.16
#6159E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6159E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159E5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159E5#FFFFFF#000000##FFFFFF
##6159E51.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#087B97
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6159e5;
/* rgb */ color: rgb(97, 89, 229);
/* oklch */ color: oklch(55.3% 0.205 279.9);
Tailwind
colors: {
  custom: {
    50: '#9a88ee',
    500: '#6159e5',
    950: '#000000',
  },
}
SCSS
$custom: #6159e5;
$custom-light: #9a88ee;
$custom-dark: #000000;
JSON
{
  "hex": "#6159e5",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 229
  },
  "hsl": {
    "h": 243.429,
    "s": 72.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.55279,
    "c": 0.20496,
    "h": 279.9
  },
  "luminance": 0.15343
}

Semantic roles & 50–950 ramp

primary
#6159E5
secondary
#E4E6B3
accent
#D510CA
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6159E5

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

Preview Lab → · Contrast checker → · Palette generator →

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