#6152BC#6152BC

#6152BC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.0% C 0.160 H 285.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#6152BC
RGBrgb(97, 82, 188)
HSLhsl(248, 44%, 53%)
HSVhsv(248, 56%, 74%)
CMYKcmyk(48.4%, 56.4%, 0%, 26.3%)
CIE-LABlab(41.54, 33.81, -54.08)
CIE-LCHlch(41.54, 63.78, 302.01°)
OKLaboklab(50.99% 0.0433 -0.1544)
OKLCHoklch(50.99% 0.16 285.7)
XYZxyz(17.0215, 12.2060, 49.0263)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152BC #ADBC52
analogous
#5278BC #6152BC #9652BC
triadic
#6152BC #BC6152 #52BC61
tetradic
#6152BC #BC5278 #ADBC52 #52BC96
square
#6152BC #BC5278 #ADBC52 #52BC96
split-complementary
#6152BC #BC9652 #78BC52
monochromatic
#32296A #473A97 #6152BC #897ECD #B2AADE

Accessibility & contrast

On white

6.10
#6152BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#6152BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152BC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152BC#FFFFFF#000000##FFFFFF
##6152BC1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D65C0
Deuteranopia (green-blind)
#065FBA
Tritanopia (blue-blind)
#426A7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6152bc;
/* rgb */ color: rgb(97, 82, 188);
/* oklch */ color: oklch(51.0% 0.160 285.7);
Tailwind
colors: {
  custom: {
    50: '#9483d1',
    500: '#6152bc',
    950: '#000000',
  },
}
SCSS
$custom: #6152bc;
$custom-light: #9483d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6152bc",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 248.491,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50994,
    "c": 0.16037,
    "h": 285.7
  },
  "luminance": 0.12207
}

Semantic roles & 50–950 ramp

primary
#6152BC
secondary
#C5CC9E
accent
#D454C2
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6152BC

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

Preview Lab → · Contrast checker → · Palette generator →

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