#6452C8#6452C8

#6452C8 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.1% C 0.176 H 285.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6452C8
RGBrgb(100, 82, 200)
HSLhsl(249, 52%, 55%)
HSVhsv(249, 59%, 78%)
CMYKcmyk(50%, 59%, 0%, 21.6%)
CIE-LABlab(42.63, 38.06, -59.28)
CIE-LCHlch(42.63, 70.45, 302.70°)
OKLaboklab(52.13% 0.0471 -0.1696)
OKLCHoklch(52.13% 0.176 285.5)
XYZxyz(18.6951, 12.9131, 56.1398)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6452C8 #B6C852
analogous
#527BC8 #6452C8 #9F52C8
triadic
#6452C8 #C86452 #52C864
tetradic
#6452C8 #C8527B #B6C852 #52C89F
square
#6452C8 #C8527B #B6C852 #52C89F
split-complementary
#6452C8 #C89F52 #7BC852
monochromatic
#332779 #4735A8 #6452C8 #8E80D7 #B7AFE6

Accessibility & contrast

On white

5.86
#6452C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#6452C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6452C8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6452C8#FFFFFF#000000##FFFFFF
##6452C81.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#3F6D85
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6452c8;
/* rgb */ color: rgb(100, 82, 200);
/* oklch */ color: oklch(52.1% 0.176 285.5);
Tailwind
colors: {
  custom: {
    50: '#9883d9',
    500: '#6452c8',
    950: '#000000',
  },
}
SCSS
$custom: #6452c8;
$custom-light: #9883d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6452c8",
  "rgb": {
    "r": 100,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 249.153,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.17604,
    "h": 285.5
  },
  "luminance": 0.12914
}

Semantic roles & 50–950 ramp

primary
#6452C8
secondary
#CCD4A2
accent
#DB4DC5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6452C8

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

Preview Lab → · Contrast checker → · Palette generator →

#6452C8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva