#6154BB#6154BB

#6154BB is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.3% C 0.156 H 285.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#6154BB
RGBrgb(97, 84, 187)
HSLhsl(248, 43%, 53%)
HSVhsv(248, 55%, 73%)
CMYKcmyk(48.1%, 55.1%, 0%, 26.7%)
CIE-LABlab(41.95, 32.29, -52.84)
CIE-LCHlch(41.95, 61.92, 301.43°)
OKLaboklab(51.28% 0.041 -0.1507)
OKLCHoklch(51.28% 0.156 285.2)
XYZxyz(17.0671, 12.4691, 48.5116)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154BB #AEBB54
analogous
#547ABB #6154BB #9454BB
triadic
#6154BB #BB6154 #54BB61
tetradic
#6154BB #BB547A #AEBB54 #54BB94
square
#6154BB #BB547A #AEBB54 #54BB94
split-complementary
#6154BB #BB9454 #7ABB54
monochromatic
#322A6A #473C96 #6154BB #8980CC #B2ACDE

Accessibility & contrast

On white

6.01
#6154BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#6154BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154BB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154BB#FFFFFF#000000##FFFFFF
##6154BB1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1966BF
Deuteranopia (green-blind)
#1460B9
Tritanopia (blue-blind)
#426B7F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6154bb;
/* rgb */ color: rgb(97, 84, 187);
/* oklch */ color: oklch(51.3% 0.156 285.2);
Tailwind
colors: {
  custom: {
    50: '#9484d0',
    500: '#6154bb',
    950: '#000000',
  },
}
SCSS
$custom: #6154bb;
$custom-light: #9484d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6154bb",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 247.573,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51277,
    "c": 0.15622,
    "h": 285.2
  },
  "luminance": 0.1247
}

Semantic roles & 50–950 ramp

primary
#6154BB
secondary
#C6CC9F
accent
#D355C3
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6154BB

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

Preview Lab → · Contrast checker → · Palette generator →

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