#6159E4#6159E4

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

Color values

HEX#6159E4
RGBrgb(97, 89, 228)
HSLhsl(243, 72%, 62%)
HSVhsv(243, 61%, 89%)
CMYKcmyk(57.5%, 61%, 0%, 10.6%)
CIE-LABlab(46.02, 41.97, -69.81)
CIE-LCHlch(46.02, 81.45, 301.01°)
OKLaboklab(55.2% 0.0352 -0.2006)
OKLCHoklch(55.2% 0.204 279.9)
XYZxyz(22.5013, 15.2860, 75.1485)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159E4 #DCE459
analogous
#5997E4 #6159E4 #A659E4
triadic
#6159E4 #E46159 #59E461
tetradic
#6159E4 #E45997 #DCE459 #59E4A6
square
#6159E4 #E45997 #DCE459 #59E4A6
split-complementary
#6159E4 #E4A659 #97E459
monochromatic
#231BA7 #2F24DB #6159E4 #938EED #C5C2F5

Accessibility & contrast

On white

5.18
#6159E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6159E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159E4
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159E4#FFFFFF#000000##FFFFFF
##6159E41.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#0068E1
Tritanopia (blue-blind)
#0C7B96
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6159e4;
/* rgb */ color: rgb(97, 89, 228);
/* oklch */ color: oklch(55.2% 0.204 279.9);
Tailwind
colors: {
  custom: {
    50: '#9a88ed',
    500: '#6159e4',
    950: '#000000',
  },
}
SCSS
$custom: #6159e4;
$custom-light: #9a88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6159e4",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 228
  },
  "hsl": {
    "h": 243.453,
    "s": 72.021,
    "l": 62.157
  },
  "oklch": {
    "l": 0.552,
    "c": 0.20369,
    "h": 279.9
  },
  "luminance": 0.15288
}

Semantic roles & 50–950 ramp

primary
#6159E4
secondary
#E3E6B3
accent
#D411C9
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6159E4

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

Preview Lab → · Contrast checker → · Palette generator →

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