#6159DB#6159DB

#6159DB is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.5% C 0.192 H 280.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6159DB
RGBrgb(97, 89, 219)
HSLhsl(244, 64%, 60%)
HSVhsv(244, 59%, 86%)
CMYKcmyk(55.7%, 59.4%, 0%, 14.1%)
CIE-LABlab(45.36, 39.16, -65.78)
CIE-LCHlch(45.36, 76.55, 300.76°)
OKLaboklab(54.5% 0.0356 -0.1888)
OKLCHoklch(54.5% 0.192 280.7)
XYZxyz(21.2843, 14.7992, 68.7391)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159DB #D3DB59
analogous
#5992DB #6159DB #A259DB
triadic
#6159DB #DB6159 #59DB61
tetradic
#6159DB #DB5992 #D3DB59 #59DBA2
square
#6159DB #DB5992 #D3DB59 #59DBA2
split-complementary
#6159DB #DBA259 #92DB59
monochromatic
#282199 #362CCB #6159DB #918BE6 #C1BEF1

Accessibility & contrast

On white

5.30
#6159DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6159DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159DB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159DB#FFFFFF#000000##FFFFFF
##6159DB1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#227891
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6159db;
/* rgb */ color: rgb(97, 89, 219);
/* oklch */ color: oklch(54.5% 0.192 280.7);
Tailwind
colors: {
  custom: {
    50: '#9888e7',
    500: '#6159db',
    950: '#000000',
  },
}
SCSS
$custom: #6159db;
$custom-light: #9888e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6159db",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 243.692,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54502,
    "c": 0.19211,
    "h": 280.7
  },
  "luminance": 0.14801
}

Semantic roles & 50–950 ramp

primary
#6159DB
secondary
#DEE1AF
accent
#CC19C1
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0B16
muted
#7E7C84

Preview Lab

Preview with #6159DB

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

Preview Lab → · Contrast checker → · Palette generator →

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