#6152D4#6152D4

#6152D4 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.8% C 0.192 H 282.8°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#6152D4
RGBrgb(97, 82, 212)
HSLhsl(247, 60%, 58%)
HSVhsv(247, 61%, 83%)
CMYKcmyk(54.2%, 61.3%, 0%, 16.9%)
CIE-LABlab(43.25, 41.13, -65.20)
CIE-LCHlch(43.25, 77.09, 302.25°)
OKLaboklab(52.8% 0.0427 -0.1871)
OKLCHoklch(52.8% 0.192 282.8)
XYZxyz(19.8271, 13.3283, 63.8024)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152D4 #C5D452
analogous
#5284D4 #6152D4 #A252D4
triadic
#6152D4 #D46152 #52D461
tetradic
#6152D4 #D45284 #C5D452 #52D4A2
square
#6152D4 #D45284 #C5D452 #52D4A2
split-complementary
#6152D4 #D4A252 #84D452
monochromatic
#2E2289 #3F2EBA #6152D4 #8E83E0 #BBB4EC

Accessibility & contrast

On white

5.73
#6152D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6152D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152D4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152D4#FFFFFF#000000##FFFFFF
##6152D41.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD8
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#2D718B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6152d4;
/* rgb */ color: rgb(97, 82, 212);
/* oklch */ color: oklch(52.8% 0.192 282.8);
Tailwind
colors: {
  custom: {
    50: '#9883e2',
    500: '#6152d4',
    950: '#000000',
  },
}
SCSS
$custom: #6152d4;
$custom-light: #9883e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6152d4",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 246.923,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52796,
    "c": 0.19192,
    "h": 282.8
  },
  "luminance": 0.13329
}

Semantic roles & 50–950 ramp

primary
#6152D4
secondary
#D5DBA7
accent
#E344D1
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0F0B15
muted
#7E7C84

Preview Lab

Preview with #6152D4

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

Preview Lab → · Contrast checker → · Palette generator →

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