#6154BD#6154BD

#6154BD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.159 H 285.0°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#6154BD
RGBrgb(97, 84, 189)
HSLhsl(247, 44%, 54%)
HSVhsv(247, 56%, 74%)
CMYKcmyk(48.7%, 55.6%, 0%, 25.9%)
CIE-LABlab(42.09, 32.90, -53.79)
CIE-LCHlch(42.09, 63.05, 301.45°)
OKLaboklab(51.42% 0.0411 -0.1535)
OKLCHoklch(51.42% 0.159 285)
XYZxyz(17.2827, 12.5553, 49.6470)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154BD #B0BD54
analogous
#547BBD #6154BD #9554BD
triadic
#6154BD #BD6154 #54BD61
tetradic
#6154BD #BD547B #B0BD54 #54BD95
square
#6154BD #BD547B #B0BD54 #54BD95
split-complementary
#6154BD #BD9554 #7BBD54
monochromatic
#322A6D #473B99 #6154BD #8A80CE #B3ACDF

Accessibility & contrast

On white

5.98
#6154BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#6154BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154BD
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154BD#FFFFFF#000000##FFFFFF
##6154BD1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1566C1
Deuteranopia (green-blind)
#0D60BB
Tritanopia (blue-blind)
#416B80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6154bd;
/* rgb */ color: rgb(97, 84, 189);
/* oklch */ color: oklch(51.4% 0.159 285.0);
Tailwind
colors: {
  custom: {
    50: '#9484d1',
    500: '#6154bd',
    950: '#000000',
  },
}
SCSS
$custom: #6154bd;
$custom-light: #9484d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6154bd",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 247.429,
    "s": 44.304,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51419,
    "c": 0.15894,
    "h": 285
  },
  "luminance": 0.12556
}

Semantic roles & 50–950 ramp

primary
#6154BD
secondary
#C7CDA0
accent
#D454C4
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6154BD

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

Preview Lab → · Contrast checker → · Palette generator →

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