#6159CC#6159CC

#6159CC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.4% C 0.172 H 282.0°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6159CC
RGBrgb(97, 89, 204)
HSLhsl(244, 53%, 57%)
HSVhsv(244, 56%, 80%)
CMYKcmyk(52.5%, 56.4%, 0%, 20%)
CIE-LABlab(44.30, 34.48, -58.91)
CIE-LCHlch(44.30, 68.26, 300.34°)
OKLaboklab(53.38% 0.0358 -0.1686)
OKLCHoklch(53.38% 0.172 282)
XYZxyz(19.3979, 14.0447, 58.8038)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159CC #C4CC59
analogous
#598ACC #6159CC #9B59CC
triadic
#6159CC #CC6159 #59CC61
tetradic
#6159CC #CC598A #C4CC59 #59CC9B
square
#6159CC #CC598A #C4CC59 #59CC9B
split-complementary
#6159CC #CC9B59 #8ACC59
monochromatic
#2E2883 #3F36B1 #6159CC #8E88DA #BAB7E9

Accessibility & contrast

On white

5.51
#6159CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6159CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159CC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159CC#FFFFFF#000000##FFFFFF
##6159CC1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD0
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#34738A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6159cc;
/* rgb */ color: rgb(97, 89, 204);
/* oklch */ color: oklch(53.4% 0.172 282.0);
Tailwind
colors: {
  custom: {
    50: '#9688dc',
    500: '#6159cc',
    950: '#000000',
  },
}
SCSS
$custom: #6159cc;
$custom-light: #9688dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6159cc",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 244.174,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53383,
    "c": 0.17233,
    "h": 282
  },
  "luminance": 0.14046
}

Semantic roles & 50–950 ramp

primary
#6159CC
secondary
#D4D8A9
accent
#DC4BD2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6159CC

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

Preview Lab → · Contrast checker → · Palette generator →

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