#6152CB#6152CB

#6152CB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.1% C 0.180 H 283.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#6152CB
RGBrgb(97, 82, 203)
HSLhsl(247, 54%, 56%)
HSVhsv(247, 60%, 80%)
CMYKcmyk(52.2%, 59.6%, 0%, 20.4%)
CIE-LABlab(42.59, 38.38, -61.10)
CIE-LCHlch(42.59, 72.15, 302.13°)
OKLaboklab(52.1% 0.0431 -0.175)
OKLCHoklch(52.1% 0.18 283.8)
XYZxyz(18.7233, 12.8867, 57.9891)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152CB #BCCB52
analogous
#527FCB #6152CB #9D52CB
triadic
#6152CB #CB6152 #52CB61
tetradic
#6152CB #CB527F #BCCB52 #52CB9D
square
#6152CB #CB527F #BCCB52 #52CB9D
split-complementary
#6152CB #CB9D52 #7FCB52
monochromatic
#30267D #4334AC #6152CB #8C81D9 #B7B0E7

Accessibility & contrast

On white

5.87
#6152CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6152CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152CB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152CB#FFFFFF#000000##FFFFFF
##6152CB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#0061C9
Tritanopia (blue-blind)
#366E87
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6152cb;
/* rgb */ color: rgb(97, 82, 203);
/* oklch */ color: oklch(52.1% 0.180 283.8);
Tailwind
colors: {
  custom: {
    50: '#9683dc',
    500: '#6152cb',
    950: '#000000',
  },
}
SCSS
$custom: #6152cb;
$custom-light: #9683dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6152cb",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 247.438,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52102,
    "c": 0.18027,
    "h": 283.8
  },
  "luminance": 0.12888
}

Semantic roles & 50–950 ramp

primary
#6152CB
secondary
#CFD5A3
accent
#DD4BCB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #6152CB

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

Preview Lab → · Contrast checker → · Palette generator →

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