#6155EF#6155EF

#6155EF is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.4% C 0.222 H 279.8°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#6155EF
RGBrgb(97, 85, 239)
HSLhsl(245, 83%, 64%)
HSVhsv(245, 64%, 94%)
CMYKcmyk(59.4%, 64.4%, 0%, 6.3%)
CIE-LABlab(46.00, 47.70, -76.05)
CIE-LCHlch(46.00, 89.77, 302.10°)
OKLaboklab(55.45% 0.0378 -0.219)
OKLCHoklch(55.45% 0.222 279.8)
XYZxyz(23.7533, 15.2687, 83.3401)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6155EF #E3EF55
analogous
#5596EF #6155EF #AE55EF
triadic
#6155EF #EF6155 #55EF61
tetradic
#6155EF #EF5596 #E3EF55 #55EFAE
square
#6155EF #EF5596 #E3EF55 #55EFAE
split-complementary
#6155EF #EFAE55 #96EF55
monochromatic
#1E11B8 #2D1DEA #6155EF #958DF4 #C9C5FA

Accessibility & contrast

On white

5.18
#6155EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#6155EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6155EF
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6155EF#FFFFFF#000000##FFFFFF
##6155EF1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F4
Deuteranopia (green-blind)
#0067EC
Tritanopia (blue-blind)
#007C9B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6155ef;
/* rgb */ color: rgb(97, 85, 239);
/* oklch */ color: oklch(55.4% 0.222 279.8);
Tailwind
colors: {
  custom: {
    50: '#9c86f5',
    500: '#6155ef',
    950: '#000000',
  },
}
SCSS
$custom: #6155ef;
$custom-light: #9c86f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6155ef",
  "rgb": {
    "r": 97,
    "g": 85,
    "b": 239
  },
  "hsl": {
    "h": 244.675,
    "s": 82.796,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55449,
    "c": 0.22222,
    "h": 279.8
  },
  "luminance": 0.1527
}

Semantic roles & 50–950 ramp

primary
#6155EF
secondary
#E7EBB5
accent
#DF06CE
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6155EF

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

Preview Lab → · Contrast checker → · Palette generator →

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