#6155DC#6155DC

#6155DC is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.9% C 0.198 H 281.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#6155DC
RGBrgb(97, 85, 220)
HSLhsl(245, 66%, 60%)
HSVhsv(245, 61%, 86%)
CMYKcmyk(55.9%, 61.4%, 0%, 13.7%)
CIE-LABlab(44.52, 41.83, -67.71)
CIE-LCHlch(44.52, 79.59, 301.71°)
OKLaboklab(53.91% 0.0393 -0.1945)
OKLCHoklch(53.91% 0.198 281.4)
XYZxyz(21.0925, 14.2043, 69.3265)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6155DC #D0DC55
analogous
#558DDC #6155DC #A455DC
triadic
#6155DC #DC6155 #55DC61
tetradic
#6155DC #DC558D #D0DC55 #55DCA4
square
#6155DC #DC558D #D0DC55 #55DCA4
split-complementary
#6155DC #DCA455 #8DDC55
monochromatic
#2A1F97 #382ACA #6155DC #9088E6 #BFBBF1

Accessibility & contrast

On white

5.47
#6155DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#6155DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6155DC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6155DC#FFFFFF#000000##FFFFFF
##6155DC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0064D9
Tritanopia (blue-blind)
#217690
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6155dc;
/* rgb */ color: rgb(97, 85, 220);
/* oklch */ color: oklch(53.9% 0.198 281.4);
Tailwind
colors: {
  custom: {
    50: '#9985e8',
    500: '#6155dc',
    950: '#000000',
  },
}
SCSS
$custom: #6155dc;
$custom-light: #9985e8;
$custom-dark: #000000;
JSON
{
  "hex": "#6155dc",
  "rgb": {
    "r": 97,
    "g": 85,
    "b": 220
  },
  "hsl": {
    "h": 245.333,
    "s": 65.854,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53914,
    "c": 0.19841,
    "h": 281.4
  },
  "luminance": 0.14206
}

Semantic roles & 50–950 ramp

primary
#6155DC
secondary
#DCE0AC
accent
#E93FDA
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6155DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6155DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva