#6155CA#6155CA

#6155CA is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.175 H 283.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#6155CA
RGBrgb(97, 85, 202)
HSLhsl(246, 52%, 56%)
HSVhsv(246, 58%, 79%)
CMYKcmyk(52%, 57.9%, 0%, 20.8%)
CIE-LABlab(43.21, 36.27, -59.51)
CIE-LCHlch(43.21, 69.69, 301.36°)
OKLaboklab(52.54% 0.04 -0.1704)
OKLCHoklch(52.54% 0.175 283.2)
XYZxyz(18.8357, 13.3016, 57.4406)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6155CA #BECA55
analogous
#5584CA #6155CA #9C55CA
triadic
#6155CA #CA6155 #55CA61
tetradic
#6155CA #CA5584 #BECA55 #55CA9C
square
#6155CA #CA5584 #BECA55 #55CA9C
split-complementary
#6155CA #CA9C55 #84CA55
monochromatic
#30277D #4236AC #6155CA #8C84D9 #B8B2E7

Accessibility & contrast

On white

5.74
#6155CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#6155CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6155CA
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6155CA#FFFFFF#000000##FFFFFF
##6155CA1.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)
#006ACE
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#367087
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6155ca;
/* rgb */ color: rgb(97, 85, 202);
/* oklch */ color: oklch(52.5% 0.175 283.2);
Tailwind
colors: {
  custom: {
    50: '#9685db',
    500: '#6155ca',
    950: '#000000',
  },
}
SCSS
$custom: #6155ca;
$custom-light: #9685db;
$custom-dark: #000000;
JSON
{
  "hex": "#6155ca",
  "rgb": {
    "r": 97,
    "g": 85,
    "b": 202
  },
  "hsl": {
    "h": 246.154,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52538,
    "c": 0.175,
    "h": 283.2
  },
  "luminance": 0.13303
}

Semantic roles & 50–950 ramp

primary
#6155CA
secondary
#D1D5A5
accent
#DC4CCD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6155CA

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

Preview Lab → · Contrast checker → · Palette generator →

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