#6152DF#6152DF

#6152DF is a mid, highly saturated blue. Relative luminance 0.139; OKLCH L 53.7% C 0.206 H 281.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#6152DF
RGBrgb(97, 82, 223)
HSLhsl(246, 69%, 60%)
HSVhsv(246, 63%, 87%)
CMYKcmyk(56.5%, 63.2%, 0%, 12.5%)
CIE-LABlab(44.09, 44.50, -70.12)
CIE-LCHlch(44.09, 83.05, 302.40°)
OKLaboklab(53.67% 0.0419 -0.2016)
OKLCHoklch(53.67% 0.206 281.7)
XYZxyz(21.2622, 13.9023, 71.3607)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152DF #D0DF52
analogous
#528ADF #6152DF #A852DF
triadic
#6152DF #DF6152 #52DF61
tetradic
#6152DF #DF528A #D0DF52 #52DFA8
square
#6152DF #DF528A #D0DF52 #52DFA8
split-complementary
#6152DF #DFA852 #8ADF52
monochromatic
#2A1D9A #3826CE #6152DF #9086E9 #BFB9F2

Accessibility & contrast

On white

5.55
#6152DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#6152DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152DF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152DF#FFFFFF#000000##FFFFFF
##6152DF1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#0063DC
Tritanopia (blue-blind)
#1C7591
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6152df;
/* rgb */ color: rgb(97, 82, 223);
/* oklch */ color: oklch(53.7% 0.206 281.7);
Tailwind
colors: {
  custom: {
    50: '#9983ea',
    500: '#6152df',
    950: '#000000',
  },
}
SCSS
$custom: #6152df;
$custom-light: #9983ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6152df",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 246.383,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5367,
    "c": 0.20587,
    "h": 281.7
  },
  "luminance": 0.13904
}

Semantic roles & 50–950 ramp

primary
#6152DF
secondary
#DCE2AB
accent
#EC3CD9
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6152DF

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

Preview Lab → · Contrast checker → · Palette generator →

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