#6159BB#6159BB

#6159BB is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.2% C 0.149 H 283.6°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#6159BB
RGBrgb(97, 89, 187)
HSLhsl(245, 42%, 54%)
HSVhsv(245, 52%, 73%)
CMYKcmyk(48.1%, 52.4%, 0%, 26.7%)
CIE-LABlab(43.17, 29.23, -50.87)
CIE-LCHlch(43.17, 58.67, 299.88°)
OKLaboklab(52.19% 0.0352 -0.1449)
OKLCHoklch(52.19% 0.149 283.6)
XYZxyz(17.4691, 13.2732, 48.6456)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6159BB #B3BB59
analogous
#5982BB #6159BB #9259BB
triadic
#6159BB #BB6159 #59BB61
tetradic
#6159BB #BB5982 #B3BB59 #59BB92
square
#6159BB #BB5982 #B3BB59 #59BB92
split-complementary
#6159BB #BB9259 #82BB59
monochromatic
#322D6D #463E98 #6159BB #8A84CD #B4B0DF

Accessibility & contrast

On white

5.75
#6159BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6159BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6159BB
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6159BB#FFFFFF#000000##FFFFFF
##6159BB1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2869BE
Deuteranopia (green-blind)
#2363B9
Tritanopia (blue-blind)
#416E81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6159bb;
/* rgb */ color: rgb(97, 89, 187);
/* oklch */ color: oklch(52.2% 0.149 283.6);
Tailwind
colors: {
  custom: {
    50: '#9488d0',
    500: '#6159bb',
    950: '#000000',
  },
}
SCSS
$custom: #6159bb;
$custom-light: #9488d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6159bb",
  "rgb": {
    "r": 97,
    "g": 89,
    "b": 187
  },
  "hsl": {
    "h": 244.898,
    "s": 41.88,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52186,
    "c": 0.14914,
    "h": 283.6
  },
  "luminance": 0.13274
}

Semantic roles & 50–950 ramp

primary
#6159BB
secondary
#C9CDA3
accent
#D256C8
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6159BB

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

Preview Lab → · Contrast checker → · Palette generator →

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