#6152CF#6152CF

#6152CF is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.4% C 0.185 H 283.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#6152CF
RGBrgb(97, 82, 207)
HSLhsl(247, 57%, 57%)
HSVhsv(247, 60%, 81%)
CMYKcmyk(53.1%, 60.4%, 0%, 18.8%)
CIE-LABlab(42.88, 39.60, -62.93)
CIE-LCHlch(42.88, 74.35, 302.18°)
OKLaboklab(52.41% 0.043 -0.1804)
OKLCHoklch(52.41% 0.185 283.4)
XYZxyz(19.2061, 13.0799, 60.5320)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152CF #C0CF52
analogous
#5282CF #6152CF #A052CF
triadic
#6152CF #CF6152 #52CF61
tetradic
#6152CF #CF5282 #C0CF52 #52CFA0
square
#6152CF #CF5282 #C0CF52 #52CFA0
split-complementary
#6152CF #CFA052 #82CF52
monochromatic
#2F2482 #4131B2 #6152CF #8D82DC #B9B2EA

Accessibility & contrast

On white

5.81
#6152CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6152CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152CF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152CF#FFFFFF#000000##FFFFFF
##6152CF1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#0061CC
Tritanopia (blue-blind)
#327089
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6152cf;
/* rgb */ color: rgb(97, 82, 207);
/* oklch */ color: oklch(52.4% 0.185 283.4);
Tailwind
colors: {
  custom: {
    50: '#9783df',
    500: '#6152cf',
    950: '#000000',
  },
}
SCSS
$custom: #6152cf;
$custom-light: #9783df;
$custom-dark: #000000;
JSON
{
  "hex": "#6152cf",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 247.2,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52408,
    "c": 0.18548,
    "h": 283.4
  },
  "luminance": 0.13081
}

Semantic roles & 50–950 ramp

primary
#6152CF
secondary
#D2D8A5
accent
#E048CE
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6152CF

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

Preview Lab → · Contrast checker → · Palette generator →

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