#6152DD#6152DD

#6152DD is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.5% C 0.203 H 281.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#6152DD
RGBrgb(97, 82, 221)
HSLhsl(246, 67%, 59%)
HSVhsv(246, 63%, 87%)
CMYKcmyk(56.1%, 62.9%, 0%, 13.3%)
CIE-LABlab(43.94, 43.89, -69.23)
CIE-LCHlch(43.94, 81.97, 302.37°)
OKLaboklab(53.51% 0.042 -0.199)
OKLCHoklch(53.51% 0.203 281.9)
XYZxyz(20.9942, 13.7951, 69.9490)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152DD #CEDD52
analogous
#5289DD #6152DD #A752DD
triadic
#6152DD #DD6152 #52DD61
tetradic
#6152DD #DD5289 #CEDD52 #52DDA7
square
#6152DD #DD5289 #CEDD52 #52DDA7
split-complementary
#6152DD #DDA752 #89DD52
monochromatic
#2B1E97 #3928CA #6152DD #9085E7 #BEB8F1

Accessibility & contrast

On white

5.59
#6152DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#6152DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152DD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152DD#FFFFFF#000000##FFFFFF
##6152DD1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE1
Deuteranopia (green-blind)
#0063DA
Tritanopia (blue-blind)
#207490
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6152dd;
/* rgb */ color: rgb(97, 82, 221);
/* oklch */ color: oklch(53.5% 0.203 281.9);
Tailwind
colors: {
  custom: {
    50: '#9983e9',
    500: '#6152dd',
    950: '#000000',
  },
}
SCSS
$custom: #6152dd;
$custom-light: #9983e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6152dd",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 246.475,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53509,
    "c": 0.20335,
    "h": 281.9
  },
  "luminance": 0.13796
}

Semantic roles & 50–950 ramp

primary
#6152DD
secondary
#DBE0AA
accent
#EA3ED7
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6152DD

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

Preview Lab → · Contrast checker → · Palette generator →

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