#6159F5#6159F5

#6159F5 is a mid, highly saturated blue. Relative luminance 0.163; OKLCH L 56.6% C 0.225 H 278.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#6159F5
RGBrgb(97, 89, 245)
HSLhsl(243, 89%, 65%)
HSVhsv(243, 64%, 96%)
CMYKcmyk(60.4%, 63.7%, 0%, 3.9%)
CIE-LABlab(47.34, 47.27, -77.23)
CIE-LCHlch(47.34, 90.55, 301.47°)
OKLaboklab(56.57% 0.034 -0.2224)
OKLCHoklch(56.57% 0.225 278.7)
XYZxyz(24.9783, 16.2768, 88.1940)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159F5 #EDF559
analogous
#599FF5 #6159F5 #AF59F5
triadic
#6159F5 #F56159 #59F561
tetradic
#6159F5 #F5599F #EDF559 #59F5AF
square
#6159F5 #F5599F #EDF559 #59F5AF
split-complementary
#6159F5 #F5AF59 #9FF559
monochromatic
#160CC8 #2A1FF2 #6159F5 #9893F8 #CFCCFC

Accessibility & contrast

On white

4.93
#6159F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#6159F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159F5
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159F5#FFFFFF#000000##FFFFFF
##6159F51.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FA
Deuteranopia (green-blind)
#006AF2
Tritanopia (blue-blind)
#00819F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6159f5;
/* rgb */ color: rgb(97, 89, 245);
/* oklch */ color: oklch(56.6% 0.225 278.7);
Tailwind
colors: {
  custom: {
    50: '#9c89fa',
    500: '#6159f5',
    950: '#000000',
  },
}
SCSS
$custom: #6159f5;
$custom-light: #9c89fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6159f5",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 245
  },
  "hsl": {
    "h": 243.077,
    "s": 88.636,
    "l": 65.49
  },
  "oklch": {
    "l": 0.56567,
    "c": 0.22502,
    "h": 278.7
  },
  "luminance": 0.16279
}

Semantic roles & 50–950 ramp

primary
#6159F5
secondary
#ECEFBB
accent
#E500D9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6159F5

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

Preview Lab → · Contrast checker → · Palette generator →

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