#6159CA#6159CA

#6159CA is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.2% C 0.170 H 282.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#6159CA
RGBrgb(97, 89, 202)
HSLhsl(244, 52%, 57%)
HSVhsv(244, 56%, 79%)
CMYKcmyk(52%, 55.9%, 0%, 20.8%)
CIE-LABlab(44.16, 33.86, -57.98)
CIE-LCHlch(44.16, 67.14, 300.28°)
OKLaboklab(53.24% 0.0357 -0.1658)
OKLCHoklch(53.24% 0.17 282.2)
XYZxyz(19.1596, 13.9493, 57.5486)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159CA #C2CA59
analogous
#598ACA #6159CA #9A59CA
triadic
#6159CA #CA6159 #59CA61
tetradic
#6159CA #CA598A #C2CA59 #59CA9A
square
#6159CA #CA598A #C2CA59 #59CA9A
split-complementary
#6159CA #CA9A59 #8ACA59
monochromatic
#2F2980 #4038AE #6159CA #8D87D9 #B9B6E8

Accessibility & contrast

On white

5.54
#6159CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6159CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159CA
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159CA#FFFFFF#000000##FFFFFF
##6159CA1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086CCE
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#367389
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6159ca;
/* rgb */ color: rgb(97, 89, 202);
/* oklch */ color: oklch(53.2% 0.170 282.2);
Tailwind
colors: {
  custom: {
    50: '#9688db',
    500: '#6159ca',
    950: '#000000',
  },
}
SCSS
$custom: #6159ca;
$custom-light: #9688db;
$custom-dark: #000000;
JSON
{
  "hex": "#6159ca",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 244.248,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53238,
    "c": 0.16965,
    "h": 282.2
  },
  "luminance": 0.1395
}

Semantic roles & 50–950 ramp

primary
#6159CA
secondary
#D3D6A8
accent
#DB4DD1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6159CA

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

Preview Lab → · Contrast checker → · Palette generator →

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