#6155EC#6155EC

#6155EC is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.2% C 0.219 H 280.0°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6155EC
RGBrgb(97, 85, 236)
HSLhsl(245, 80%, 63%)
HSVhsv(245, 64%, 93%)
CMYKcmyk(58.9%, 64%, 0%, 7.5%)
CIE-LABlab(45.76, 46.78, -74.75)
CIE-LCHlch(45.76, 88.18, 302.04°)
OKLaboklab(55.2% 0.0381 -0.2152)
OKLCHoklch(55.2% 0.219 280)
XYZxyz(23.3138, 15.0929, 81.0253)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6155EC #E0EC55
analogous
#5595EC #6155EC #AC55EC
triadic
#6155EC #EC6155 #55EC61
tetradic
#6155EC #EC5595 #E0EC55 #55ECAC
square
#6155EC #EC5595 #E0EC55 #55ECAC
split-complementary
#6155EC #ECAC55 #95EC55
monochromatic
#2114B3 #2E1EE6 #6155EC #948CF2 #C7C3F8

Accessibility & contrast

On white

5.23
#6155EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#6155EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6155EC
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6155EC#FFFFFF#000000##FFFFFF
##6155EC1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F1
Deuteranopia (green-blind)
#0067E9
Tritanopia (blue-blind)
#007B99
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6155ec;
/* rgb */ color: rgb(97, 85, 236);
/* oklch */ color: oklch(55.2% 0.219 280.0);
Tailwind
colors: {
  custom: {
    50: '#9b86f3',
    500: '#6155ec',
    950: '#000000',
  },
}
SCSS
$custom: #6155ec;
$custom-light: #9b86f3;
$custom-dark: #000000;
JSON
{
  "hex": "#6155ec",
  "rgb": {
    "r": 97,
    "g": 85,
    "b": 236
  },
  "hsl": {
    "h": 244.768,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55201,
    "c": 0.21851,
    "h": 280
  },
  "luminance": 0.15095
}

Semantic roles & 50–950 ramp

primary
#6155EC
secondary
#E5EAB3
accent
#DC09CB
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6155EC

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

Preview Lab → · Contrast checker → · Palette generator →

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