#6154DC#6154DC

#6154DC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.8% C 0.200 H 281.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#6154DC
RGBrgb(97, 84, 220)
HSLhsl(246, 66%, 60%)
HSVhsv(246, 62%, 86%)
CMYKcmyk(55.9%, 61.8%, 0%, 13.7%)
CIE-LABlab(44.30, 42.42, -68.07)
CIE-LCHlch(44.30, 80.20, 301.93°)
OKLaboklab(53.75% 0.0403 -0.1955)
OKLCHoklch(53.75% 0.2 281.6)
XYZxyz(21.0143, 14.0480, 69.3005)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154DC #CFDC54
analogous
#548BDC #6154DC #A554DC
triadic
#6154DC #DC6154 #54DC61
tetradic
#6154DC #DC548B #CFDC54 #54DCA5
square
#6154DC #DC548B #CFDC54 #54DCA5
split-complementary
#6154DC #DCA554 #8BDC54
monochromatic
#2A1F97 #3929CA #6154DC #9087E6 #BFBAF1

Accessibility & contrast

On white

5.51
#6154DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#6154DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154DC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154DC#FFFFFF#000000##FFFFFF
##6154DC1.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)
#006DE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#217590
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6154dc;
/* rgb */ color: rgb(97, 84, 220);
/* oklch */ color: oklch(53.8% 0.200 281.6);
Tailwind
colors: {
  custom: {
    50: '#9985e8',
    500: '#6154dc',
    950: '#000000',
  },
}
SCSS
$custom: #6154dc;
$custom-light: #9985e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6154dc",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 245.735,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53751,
    "c": 0.19964,
    "h": 281.6
  },
  "luminance": 0.14049
}

Semantic roles & 50–950 ramp

primary
#6154DC
secondary
#DBE0AC
accent
#E93FD9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6154DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6154DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva