#6152AF#6152AF

#6152AF is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.143 H 287.5°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6152AF
RGBrgb(97, 82, 175)
HSLhsl(250, 37%, 50%)
HSVhsv(250, 53%, 69%)
CMYKcmyk(44.6%, 53.1%, 0%, 31.4%)
CIE-LABlab(40.69, 29.90, -47.82)
CIE-LCHlch(40.69, 56.40, 302.01°)
OKLaboklab(50.09% 0.0429 -0.136)
OKLCHoklch(50.09% 0.143 287.5)
XYZxyz(15.6827, 11.6705, 41.9754)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6152AF #A0AF52
analogous
#5272AF #6152AF #8F52AF
triadic
#6152AF #AF6152 #52AF61
tetradic
#6152AF #AF5272 #A0AF52 #52AF8F
square
#6152AF #AF5272 #A0AF52 #52AF8F
split-complementary
#6152AF #AF8F52 #72AF52
monochromatic
#332B5C #4A3E86 #6152AF #877CC2 #ADA6D6

Accessibility & contrast

On white

6.30
#6152AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6152AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6152AF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6152AF#FFFFFF#000000##FFFFFF
##6152AF1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B2
Deuteranopia (green-blind)
#255DAD
Tritanopia (blue-blind)
#496678
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6152af;
/* rgb */ color: rgb(97, 82, 175);
/* oklch */ color: oklch(50.1% 0.143 287.5);
Tailwind
colors: {
  custom: {
    50: '#9383c7',
    500: '#6152af',
    950: '#000000',
  },
}
SCSS
$custom: #6152af;
$custom-light: #9383c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6152af",
  "rgb": {
    "r": 97,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 249.677,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50087,
    "c": 0.14262,
    "h": 287.5
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

primary
#6152AF
secondary
#BCC39A
accent
#CD5BBA
background
#F9F8FC
surface
#F2EFF8
border
#CCCAD1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #6152AF

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

Preview Lab → · Contrast checker → · Palette generator →

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