#6152DB#6152DB

#6152DB is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.3% C 0.201 H 282.1°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6152DB
RGBrgb(97, 82, 219)
HSLhsl(247, 66%, 59%)
HSVhsv(247, 63%, 86%)
CMYKcmyk(55.7%, 62.6%, 0%, 14.1%)
CIE-LABlab(43.78, 43.28, -68.34)
CIE-LCHlch(43.78, 80.89, 302.34°)
OKLaboklab(53.35% 0.0422 -0.1963)
OKLCHoklch(53.35% 0.201 282.1)
XYZxyz(20.7293, 13.6891, 68.5541)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152DB #CCDB52
analogous
#5288DB #6152DB #A652DB
triadic
#6152DB #DB6152 #52DB61
tetradic
#6152DB #DB5288 #CCDB52 #52DBA6
square
#6152DB #DB5288 #CCDB52 #52DBA6
split-complementary
#6152DB #DBA652 #88DB52
monochromatic
#2C1F94 #3B29C6 #6152DB #8F85E6 #BEB7F0

Accessibility & contrast

On white

5.62
#6152DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6152DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152DB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152DB#FFFFFF#000000##FFFFFF
##6152DB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDF
Deuteranopia (green-blind)
#0063D8
Tritanopia (blue-blind)
#23748F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6152db;
/* rgb */ color: rgb(97, 82, 219);
/* oklch */ color: oklch(53.3% 0.201 282.1);
Tailwind
colors: {
  custom: {
    50: '#9983e7',
    500: '#6152db',
    950: '#000000',
  },
}
SCSS
$custom: #6152db;
$custom-light: #9983e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6152db",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 246.569,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.53349,
    "c": 0.20083,
    "h": 282.1
  },
  "luminance": 0.1369
}

Semantic roles & 50–950 ramp

primary
#6152DB
secondary
#D9DFAA
accent
#E93FD6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6152DB

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

Preview Lab → · Contrast checker → · Palette generator →

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