#6159EA#6159EA

#6159EA is a mid, highly saturated blue. Relative luminance 0.156; OKLCH L 55.7% C 0.211 H 279.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#6159EA
RGBrgb(97, 89, 234)
HSLhsl(243, 78%, 63%)
HSVhsv(243, 62%, 92%)
CMYKcmyk(58.5%, 62%, 0%, 8.2%)
CIE-LABlab(46.48, 43.84, -72.46)
CIE-LCHlch(46.48, 84.69, 301.18°)
OKLaboklab(55.68% 0.0348 -0.2084)
OKLCHoklch(55.68% 0.211 279.5)
XYZxyz(23.3487, 15.6250, 79.6115)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159EA #E2EA59
analogous
#5999EA #6159EA #A959EA
triadic
#6159EA #EA6159 #59EA61
tetradic
#6159EA #EA5999 #E2EA59 #59EAA9
square
#6159EA #EA5999 #E2EA59 #59EAA9
split-complementary
#6159EA #EAA959 #99EA59
monochromatic
#1F17B2 #2D23E3 #6159EA #958FF1 #C8C6F8

Accessibility & contrast

On white

5.09
#6159EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#6159EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159EA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159EA#FFFFFF#000000##FFFFFF
##6159EA1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#007D99
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6159ea;
/* rgb */ color: rgb(97, 89, 234);
/* oklch */ color: oklch(55.7% 0.211 279.5);
Tailwind
colors: {
  custom: {
    50: '#9b88f2',
    500: '#6159ea',
    950: '#000000',
  },
}
SCSS
$custom: #6159ea;
$custom-light: #9b88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6159ea",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 243.31,
    "s": 77.54,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55676,
    "c": 0.2113,
    "h": 279.5
  },
  "luminance": 0.15627
}

Semantic roles & 50–950 ramp

primary
#6159EA
secondary
#E6E9B6
accent
#DA0CCE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6159EA

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

Preview Lab → · Contrast checker → · Palette generator →

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