#6155DB#6155DB

#6155DB is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.8% C 0.197 H 281.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#6155DB
RGBrgb(97, 85, 219)
HSLhsl(245, 65%, 60%)
HSVhsv(245, 61%, 86%)
CMYKcmyk(55.7%, 61.2%, 0%, 14.1%)
CIE-LABlab(44.45, 41.52, -67.26)
CIE-LCHlch(44.45, 79.04, 301.69°)
OKLaboklab(53.84% 0.0394 -0.1931)
OKLCHoklch(53.84% 0.197 281.5)
XYZxyz(20.9605, 14.1515, 68.6311)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6155DB #CFDB55
analogous
#558CDB #6155DB #A455DB
triadic
#6155DB #DB6155 #55DB61
tetradic
#6155DB #DB558C #CFDB55 #55DBA4
square
#6155DB #DB558C #CFDB55 #55DBA4
split-complementary
#6155DB #DBA455 #8CDB55
monochromatic
#2A2096 #392AC8 #6155DB #9088E6 #BFBAF0

Accessibility & contrast

On white

5.48
#6155DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#6155DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6155DB
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6155DB#FFFFFF#000000##FFFFFF
##6155DB1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0064D8
Tritanopia (blue-blind)
#237690
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6155db;
/* rgb */ color: rgb(97, 85, 219);
/* oklch */ color: oklch(53.8% 0.197 281.5);
Tailwind
colors: {
  custom: {
    50: '#9885e7',
    500: '#6155db',
    950: '#000000',
  },
}
SCSS
$custom: #6155db;
$custom-light: #9885e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6155db",
  "rgb": {
    "r": 97,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 245.373,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53835,
    "c": 0.19713,
    "h": 281.5
  },
  "luminance": 0.14153
}

Semantic roles & 50–950 ramp

primary
#6155DB
secondary
#DBE0AC
accent
#E840D9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6155DB

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

Preview Lab → · Contrast checker → · Palette generator →

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