#6154D2#6154D2

#6154D2 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 53.0% C 0.187 H 282.6°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#6154D2
RGBrgb(97, 84, 210)
HSLhsl(246, 58%, 58%)
HSVhsv(246, 60%, 82%)
CMYKcmyk(53.8%, 60%, 0%, 17.6%)
CIE-LABlab(43.56, 39.34, -63.56)
CIE-LCHlch(43.56, 74.75, 301.75°)
OKLaboklab(52.97% 0.0408 -0.1823)
OKLCHoklch(52.97% 0.187 282.6)
XYZxyz(19.7294, 13.5340, 62.5330)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6154D2 #C5D254
analogous
#5486D2 #6154D2 #A054D2
triadic
#6154D2 #D26154 #54D261
tetradic
#6154D2 #D25486 #C5D254 #54D2A0
square
#6154D2 #D25486 #C5D254 #54D2A0
split-complementary
#6154D2 #D2A054 #86D254
monochromatic
#2E2488 #3F31B8 #6154D2 #8E84DF #BBB5EB

Accessibility & contrast

On white

5.66
#6154D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#6154D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6154D2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6154D2#FFFFFF#000000##FFFFFF
##6154D21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#0063CF
Tritanopia (blue-blind)
#2F728B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6154d2;
/* rgb */ color: rgb(97, 84, 210);
/* oklch */ color: oklch(53.0% 0.187 282.6);
Tailwind
colors: {
  custom: {
    50: '#9785e1',
    500: '#6154d2',
    950: '#000000',
  },
}
SCSS
$custom: #6154d2;
$custom-light: #9785e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6154d2",
  "rgb": {
    "r": 97,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 246.19,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52971,
    "c": 0.18679,
    "h": 282.6
  },
  "luminance": 0.13535
}

Semantic roles & 50–950 ramp

primary
#6154D2
secondary
#D5DAA8
accent
#E246D2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6154D2

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

Preview Lab → · Contrast checker → · Palette generator →

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