#6159F4#6159F4

#6159F4 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.5% C 0.224 H 278.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#6159F4
RGBrgb(97, 89, 244)
HSLhsl(243, 88%, 65%)
HSVhsv(243, 64%, 96%)
CMYKcmyk(60.2%, 63.5%, 0%, 4.3%)
CIE-LABlab(47.26, 46.96, -76.80)
CIE-LCHlch(47.26, 90.02, 301.44°)
OKLaboklab(56.49% 0.034 -0.2212)
OKLCHoklch(56.49% 0.224 278.7)
XYZxyz(24.8261, 16.2159, 87.3921)
Luminance0.1622 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159F4 #ECF459
analogous
#599EF4 #6159F4 #AF59F4
triadic
#6159F4 #F46159 #59F461
tetradic
#6159F4 #F4599E #ECF459 #59F4AF
square
#6159F4 #F4599E #ECF459 #59F4AF
split-complementary
#6159F4 #F4AF59 #9EF459
monochromatic
#170DC6 #2A20F0 #6159F4 #9892F8 #CECCFC

Accessibility & contrast

On white

4.95
#6159F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#6159F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159F4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159F4#FFFFFF#000000##FFFFFF
##6159F41.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F9
Deuteranopia (green-blind)
#006AF1
Tritanopia (blue-blind)
#00809F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6159f4;
/* rgb */ color: rgb(97, 89, 244);
/* oklch */ color: oklch(56.5% 0.224 278.7);
Tailwind
colors: {
  custom: {
    50: '#9c89f9',
    500: '#6159f4',
    950: '#000000',
  },
}
SCSS
$custom: #6159f4;
$custom-light: #9c89f9;
$custom-dark: #000000;
JSON
{
  "hex": "#6159f4",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 244
  },
  "hsl": {
    "h": 243.097,
    "s": 87.571,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56485,
    "c": 0.22377,
    "h": 278.7
  },
  "luminance": 0.16218
}

Semantic roles & 50–950 ramp

primary
#6159F4
secondary
#ECEFBA
accent
#E401D8
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6159F4

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

Preview Lab → · Contrast checker → · Palette generator →

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