#6154BC#6154BC

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

Color values

HEX#6154BC
RGBrgb(97, 84, 188)
HSLhsl(248, 44%, 53%)
HSVhsv(248, 55%, 74%)
CMYKcmyk(48.4%, 55.3%, 0%, 26.3%)
CIE-LABlab(42.02, 32.59, -53.31)
CIE-LCHlch(42.02, 62.49, 301.44°)
OKLaboklab(51.35% 0.041 -0.1521)
OKLCHoklch(51.35% 0.158 285.1)
XYZxyz(17.1745, 12.5121, 49.0773)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154BC #AFBC54
analogous
#547BBC #6154BC #9554BC
triadic
#6154BC #BC6154 #54BC61
tetradic
#6154BC #BC547B #AFBC54 #54BC95
square
#6154BC #BC547B #AFBC54 #54BC95
split-complementary
#6154BC #BC9554 #7BBC54
monochromatic
#322A6B #473B97 #6154BC #8A80CD #B2ACDE

Accessibility & contrast

On white

6.00
#6154BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#6154BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154BC
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154BC#FFFFFF#000000##FFFFFF
##6154BC1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766C0
Deuteranopia (green-blind)
#1160BA
Tritanopia (blue-blind)
#416B80
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6154bc;
/* rgb */ color: rgb(97, 84, 188);
/* oklch */ color: oklch(51.3% 0.158 285.1);
Tailwind
colors: {
  custom: {
    50: '#9484d1',
    500: '#6154bc',
    950: '#000000',
  },
}
SCSS
$custom: #6154bc;
$custom-light: #9484d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6154bc",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 247.5,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.51348,
    "c": 0.15758,
    "h": 285.1
  },
  "luminance": 0.12513
}

Semantic roles & 50–950 ramp

primary
#6154BC
secondary
#C7CCA0
accent
#D354C4
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6154BC

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

Preview Lab → · Contrast checker → · Palette generator →

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