#6154CD#6154CD

#6154CD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.6% C 0.180 H 283.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6154CD
RGBrgb(97, 84, 205)
HSLhsl(246, 55%, 57%)
HSVhsv(246, 59%, 80%)
CMYKcmyk(52.7%, 59%, 0%, 19.6%)
CIE-LABlab(43.20, 37.80, -61.27)
CIE-LCHlch(43.20, 71.99, 301.67°)
OKLaboklab(52.59% 0.041 -0.1756)
OKLCHoklch(52.59% 0.18 283.1)
XYZxyz(19.1162, 13.2887, 59.3035)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154CD #C0CD54
analogous
#5484CD #6154CD #9E54CD
triadic
#6154CD #CD6154 #54CD61
tetradic
#6154CD #CD5484 #C0CD54 #54CD9E
square
#6154CD #CD5484 #C0CD54 #54CD9E
split-complementary
#6154CD #CD9E54 #84CD54
monochromatic
#2F2681 #4134B0 #6154CD #8D83DB #B9B3E9

Accessibility & contrast

On white

5.74
#6154CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6154CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154CD
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154CD#FFFFFF#000000##FFFFFF
##6154CD1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6154cd;
/* rgb */ color: rgb(97, 84, 205);
/* oklch */ color: oklch(52.6% 0.180 283.1);
Tailwind
colors: {
  custom: {
    50: '#9684dd',
    500: '#6154cd',
    950: '#000000',
  },
}
SCSS
$custom: #6154cd;
$custom-light: #9684dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6154cd",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 246.446,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52591,
    "c": 0.18027,
    "h": 283.1
  },
  "luminance": 0.1329
}

Semantic roles & 50–950 ramp

primary
#6154CD
secondary
#D2D7A6
accent
#DE4ACE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6154CD

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

Preview Lab → · Contrast checker → · Palette generator →

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