#6159DF#6159DF

#6159DF is a mid, vivid blue. Relative luminance 0.150; OKLCH L 54.8% C 0.197 H 280.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6159DF
RGBrgb(97, 89, 223)
HSLhsl(244, 68%, 61%)
HSVhsv(244, 60%, 87%)
CMYKcmyk(56.5%, 60.1%, 0%, 12.5%)
CIE-LABlab(45.65, 40.40, -67.58)
CIE-LCHlch(45.65, 78.74, 300.87°)
OKLaboklab(54.81% 0.0354 -0.1941)
OKLCHoklch(54.81% 0.197 280.3)
XYZxyz(21.8172, 15.0124, 71.5458)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159DF #D7DF59
analogous
#5994DF #6159DF #A459DF
triadic
#6159DF #DF6159 #59DF61
tetradic
#6159DF #DF5994 #D7DF59 #59DFA4
square
#6159DF #DF5994 #D7DF59 #59DFA4
split-complementary
#6159DF #DFA459 #94DF59
monochromatic
#261F9F #3329D2 #6159DF #928CE9 #C3C0F3

Accessibility & contrast

On white

5.25
#6159DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6159DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159DF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159DF#FFFFFF#000000##FFFFFF
##6159DF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0067DC
Tritanopia (blue-blind)
#1A7993
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6159df;
/* rgb */ color: rgb(97, 89, 223);
/* oklch */ color: oklch(54.8% 0.197 280.3);
Tailwind
colors: {
  custom: {
    50: '#9988ea',
    500: '#6159df',
    950: '#000000',
  },
}
SCSS
$custom: #6159df;
$custom-light: #9988ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6159df",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 223
  },
  "hsl": {
    "h": 243.582,
    "s": 67.677,
    "l": 61.176
  },
  "oklch": {
    "l": 0.5481,
    "c": 0.19729,
    "h": 280.3
  },
  "luminance": 0.15014
}

Semantic roles & 50–950 ramp

primary
#6159DF
secondary
#E0E3B1
accent
#D016C5
background
#FAF8FE
surface
#F3F0FD
border
#CDCBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6159DF

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

Preview Lab → · Contrast checker → · Palette generator →

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