#6152BF#6152BF

#6152BF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.2% C 0.164 H 285.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#6152BF
RGBrgb(97, 82, 191)
HSLhsl(248, 46%, 54%)
HSVhsv(248, 57%, 75%)
CMYKcmyk(49.2%, 57.1%, 0%, 25.1%)
CIE-LABlab(41.75, 34.72, -55.50)
CIE-LCHlch(41.75, 65.47, 302.03°)
OKLaboklab(51.21% 0.0433 -0.1586)
OKLCHoklch(51.21% 0.164 285.3)
XYZxyz(17.3482, 12.3367, 50.7472)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152BF #B0BF52
analogous
#5279BF #6152BF #9752BF
triadic
#6152BF #BF6152 #52BF61
tetradic
#6152BF #BF5279 #B0BF52 #52BF97
square
#6152BF #BF5279 #B0BF52 #52BF97
split-complementary
#6152BF #BF9752 #79BF52
monochromatic
#32296E #47399B #6152BF #8A7FD0 #B3ABE0

Accessibility & contrast

On white

6.06
#6152BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#6152BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152BF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152BF#FFFFFF#000000##FFFFFF
##6152BF1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0166C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#3F6B80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6152bf;
/* rgb */ color: rgb(97, 82, 191);
/* oklch */ color: oklch(51.2% 0.164 285.3);
Tailwind
colors: {
  custom: {
    50: '#9583d3',
    500: '#6152bf',
    950: '#000000',
  },
}
SCSS
$custom: #6152bf;
$custom-light: #9583d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6152bf",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 248.257,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.51211,
    "c": 0.16441,
    "h": 285.3
  },
  "luminance": 0.12338
}

Semantic roles & 50–950 ramp

primary
#6152BF
secondary
#C7CE9F
accent
#D652C4
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #6152BF

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

Preview Lab → · Contrast checker → · Palette generator →

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