#6159EB#6159EB

#6159EB is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.8% C 0.213 H 279.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#6159EB
RGBrgb(97, 89, 235)
HSLhsl(243, 78%, 64%)
HSVhsv(243, 62%, 92%)
CMYKcmyk(58.7%, 62.1%, 0%, 7.8%)
CIE-LABlab(46.56, 44.15, -72.89)
CIE-LCHlch(46.56, 85.22, 301.20°)
OKLaboklab(55.76% 0.0348 -0.2097)
OKLCHoklch(55.76% 0.213 279.4)
XYZxyz(23.4928, 15.6826, 80.3702)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159EB #E3EB59
analogous
#599AEB #6159EB #AA59EB
triadic
#6159EB #EB6159 #59EB61
tetradic
#6159EB #EB599A #E3EB59 #59EBAA
square
#6159EB #EB599A #E3EB59 #59EBAA
split-complementary
#6159EB #EBAA59 #9AEB59
monochromatic
#1E16B4 #2D22E4 #6159EB #9590F2 #C9C6F8

Accessibility & contrast

On white

5.08
#6159EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6159EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159EB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159EB#FFFFFF#000000##FFFFFF
##6159EB1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F0
Deuteranopia (green-blind)
#0069E8
Tritanopia (blue-blind)
#007D9A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6159eb;
/* rgb */ color: rgb(97, 89, 235);
/* oklch */ color: oklch(55.8% 0.213 279.4);
Tailwind
colors: {
  custom: {
    50: '#9b88f2',
    500: '#6159eb',
    950: '#000000',
  },
}
SCSS
$custom: #6159eb;
$custom-light: #9b88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6159eb",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 235
  },
  "hsl": {
    "h": 243.288,
    "s": 78.495,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55756,
    "c": 0.21256,
    "h": 279.4
  },
  "luminance": 0.15684
}

Semantic roles & 50–950 ramp

primary
#6159EB
secondary
#E7EAB6
accent
#DB0BCF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6159EB

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

Preview Lab → · Contrast checker → · Palette generator →

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