#6159CD#6159CD

#6159CD is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.5% C 0.174 H 281.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6159CD
RGBrgb(97, 89, 205)
HSLhsl(244, 54%, 58%)
HSVhsv(244, 57%, 80%)
CMYKcmyk(52.7%, 56.6%, 0%, 19.6%)
CIE-LABlab(44.37, 34.79, -59.38)
CIE-LCHlch(44.37, 68.82, 300.37°)
OKLaboklab(53.46% 0.0358 -0.1699)
OKLCHoklch(53.46% 0.174 281.9)
XYZxyz(19.5182, 14.0928, 59.4375)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159CD #C5CD59
analogous
#598BCD #6159CD #9B59CD
triadic
#6159CD #CD6159 #59CD61
tetradic
#6159CD #CD598B #C5CD59 #59CD9B
square
#6159CD #CD598B #C5CD59 #59CD9B
split-complementary
#6159CD #CD9B59 #8BCD59
monochromatic
#2E2884 #3F36B3 #6159CD #8E88DB #BBB7E9

Accessibility & contrast

On white

5.50
#6159CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#6159CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159CD
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159CD#FFFFFF#000000##FFFFFF
##6159CD1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#33748A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6159cd;
/* rgb */ color: rgb(97, 89, 205);
/* oklch */ color: oklch(53.5% 0.174 281.9);
Tailwind
colors: {
  custom: {
    50: '#9688dd',
    500: '#6159cd',
    950: '#000000',
  },
}
SCSS
$custom: #6159cd;
$custom-light: #9688dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6159cd",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 244.138,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53456,
    "c": 0.17367,
    "h": 281.9
  },
  "luminance": 0.14094
}

Semantic roles & 50–950 ramp

primary
#6159CD
secondary
#D5D8AA
accent
#DD4BD3
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6159CD

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

Preview Lab → · Contrast checker → · Palette generator →

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