#6155CB#6155CB

#6155CB is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.176 H 283.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6155CB
RGBrgb(97, 85, 203)
HSLhsl(246, 53%, 56%)
HSVhsv(246, 58%, 80%)
CMYKcmyk(52.2%, 58.1%, 0%, 20.4%)
CIE-LABlab(43.28, 36.58, -59.97)
CIE-LCHlch(43.28, 70.25, 301.38°)
OKLaboklab(52.61% 0.04 -0.1717)
OKLCHoklch(52.61% 0.176 283.1)
XYZxyz(18.9545, 13.3491, 58.0662)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6155CB #BFCB55
analogous
#5584CB #6155CB #9C55CB
triadic
#6155CB #CB6155 #55CB61
tetradic
#6155CB #CB5584 #BFCB55 #55CB9C
square
#6155CB #CB5584 #BFCB55 #55CB9C
split-complementary
#6155CB #CB9C55 #84CB55
monochromatic
#30277F #4135AE #6155CB #8D84D9 #B8B3E8

Accessibility & contrast

On white

5.72
#6155CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6155CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6155CB
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6155CB#FFFFFF#000000##FFFFFF
##6155CB1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#367088
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6155cb;
/* rgb */ color: rgb(97, 85, 203);
/* oklch */ color: oklch(52.6% 0.176 283.1);
Tailwind
colors: {
  custom: {
    50: '#9685dc',
    500: '#6155cb',
    950: '#000000',
  },
}
SCSS
$custom: #6155cb;
$custom-light: #9685dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6155cb",
  "rgb": {
    "r": 97,
    "g": 85,
    "b": 203
  },
  "hsl": {
    "h": 246.102,
    "s": 53.153,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52612,
    "c": 0.17633,
    "h": 283.1
  },
  "luminance": 0.1335
}

Semantic roles & 50–950 ramp

primary
#6155CB
secondary
#D1D6A6
accent
#DD4BCE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6155CB

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

Preview Lab → · Contrast checker → · Palette generator →

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