#6154CC#6154CC

#6154CC is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.5% C 0.179 H 283.3°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6154CC
RGBrgb(97, 84, 204)
HSLhsl(247, 54%, 56%)
HSVhsv(247, 59%, 80%)
CMYKcmyk(52.5%, 58.8%, 0%, 20%)
CIE-LABlab(43.12, 37.49, -60.81)
CIE-LCHlch(43.12, 71.44, 301.65°)
OKLaboklab(52.52% 0.041 -0.1742)
OKLCHoklch(52.52% 0.179 283.3)
XYZxyz(18.9959, 13.2406, 58.6698)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154CC #BFCC54
analogous
#5483CC #6154CC #9D54CC
triadic
#6154CC #CC6154 #54CC61
tetradic
#6154CC #CC5483 #BFCC54 #54CC9D
square
#6154CC #CC5483 #BFCC54 #54CC9D
split-complementary
#6154CC #CC9D54 #83CC54
monochromatic
#302680 #4134AF #6154CC #8D83DA #B8B2E8

Accessibility & contrast

On white

5.76
#6154CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6154CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154CC
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154CC#FFFFFF#000000##FFFFFF
##6154CC1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#357088
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6154cc;
/* rgb */ color: rgb(97, 84, 204);
/* oklch */ color: oklch(52.5% 0.179 283.3);
Tailwind
colors: {
  custom: {
    50: '#9684dc',
    500: '#6154cc',
    950: '#000000',
  },
}
SCSS
$custom: #6154cc;
$custom-light: #9684dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6154cc",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 246.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52516,
    "c": 0.17896,
    "h": 283.3
  },
  "luminance": 0.13242
}

Semantic roles & 50–950 ramp

primary
#6154CC
secondary
#D1D7A5
accent
#DD4ACD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6154CC

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

Preview Lab → · Contrast checker → · Palette generator →

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