#6159CB#6159CB

#6159CB is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.3% C 0.171 H 282.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6159CB
RGBrgb(97, 89, 203)
HSLhsl(244, 52%, 57%)
HSVhsv(244, 56%, 80%)
CMYKcmyk(52.2%, 56.2%, 0%, 20.4%)
CIE-LABlab(44.23, 34.17, -58.45)
CIE-LCHlch(44.23, 67.70, 300.31°)
OKLaboklab(53.31% 0.0357 -0.1672)
OKLCHoklch(53.31% 0.171 282.1)
XYZxyz(19.2783, 13.9968, 58.1742)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159CB #C3CB59
analogous
#598ACB #6159CB #9A59CB
triadic
#6159CB #CB6159 #59CB61
tetradic
#6159CB #CB598A #C3CB59 #59CB9A
square
#6159CB #CB598A #C3CB59 #59CB9A
split-complementary
#6159CB #CB9A59 #8ACB59
monochromatic
#2F2881 #4037B0 #6159CB #8D88DA #BAB6E8

Accessibility & contrast

On white

5.53
#6159CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#6159CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159CB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159CB#FFFFFF#000000##FFFFFF
##6159CB1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036DCF
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#357389
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6159cb;
/* rgb */ color: rgb(97, 89, 203);
/* oklch */ color: oklch(53.3% 0.171 282.1);
Tailwind
colors: {
  custom: {
    50: '#9688dc',
    500: '#6159cb',
    950: '#000000',
  },
}
SCSS
$custom: #6159cb;
$custom-light: #9688dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6159cb",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 203
  },
  "hsl": {
    "h": 244.211,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5331,
    "c": 0.17099,
    "h": 282.1
  },
  "luminance": 0.13998
}

Semantic roles & 50–950 ramp

primary
#6159CB
secondary
#D4D7A9
accent
#DC4CD2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6159CB

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

Preview Lab → · Contrast checker → · Palette generator →

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