#6152BD#6152BD

#6152BD is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.1% C 0.162 H 285.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#6152BD
RGBrgb(97, 82, 189)
HSLhsl(248, 45%, 53%)
HSVhsv(248, 57%, 74%)
CMYKcmyk(48.7%, 56.6%, 0%, 25.9%)
CIE-LABlab(41.61, 34.11, -54.56)
CIE-LCHlch(41.61, 64.34, 302.01°)
OKLaboklab(51.07% 0.0433 -0.1558)
OKLCHoklch(51.07% 0.162 285.5)
XYZxyz(17.1297, 12.2493, 49.5960)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152BD #AEBD52
analogous
#5278BD #6152BD #9652BD
triadic
#6152BD #BD6152 #52BD61
tetradic
#6152BD #BD5278 #AEBD52 #52BD96
square
#6152BD #BD5278 #AEBD52 #52BD96
split-complementary
#6152BD #BD9652 #78BD52
monochromatic
#32296C #473A98 #6152BD #897ECE #B2ABDF

Accessibility & contrast

On white

6.09
#6152BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6152BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152BD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152BD#FFFFFF#000000##FFFFFF
##6152BD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0965C1
Deuteranopia (green-blind)
#025FBB
Tritanopia (blue-blind)
#416A7F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6152bd;
/* rgb */ color: rgb(97, 82, 189);
/* oklch */ color: oklch(51.1% 0.162 285.5);
Tailwind
colors: {
  custom: {
    50: '#9483d2',
    500: '#6152bd',
    950: '#000000',
  },
}
SCSS
$custom: #6152bd;
$custom-light: #9483d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6152bd",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 248.411,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51066,
    "c": 0.16172,
    "h": 285.5
  },
  "luminance": 0.1225
}

Semantic roles & 50–950 ramp

primary
#6152BD
secondary
#C6CC9E
accent
#D453C2
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #6152BD

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

Preview Lab → · Contrast checker → · Palette generator →

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