#6048E2#6048E2

#6048E2 is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.3% C 0.221 H 282.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#6048E2
RGBrgb(96, 72, 226)
HSLhsl(249, 73%, 58%)
HSVhsv(249, 68%, 89%)
CMYKcmyk(57.5%, 68.1%, 0%, 11.4%)
CIE-LABlab(42.17, 50.88, -74.97)
CIE-LCHlch(42.17, 90.60, 304.17°)
OKLaboklab(52.34% 0.0487 -0.2158)
OKLCHoklch(52.34% 0.221 282.7)
XYZxyz(20.8645, 12.6112, 73.2715)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6048E2 #CAE248
analogous
#487DE2 #6048E2 #AD48E2
triadic
#6048E2 #E26048 #48E260
tetradic
#6048E2 #E2487D #CAE248 #48E2AD
square
#6048E2 #E2487D #CAE248 #48E2AD
split-complementary
#6048E2 #E2AD48 #7DE248
monochromatic
#2C1898 #3B20CC #6048E2 #8E7DEA #BCB2F3

Accessibility & contrast

On white

5.96
#6048E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#6048E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6048E2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6048E2#FFFFFF#000000##FFFFFF
##6048E21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#12708F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6048e2;
/* rgb */ color: rgb(96, 72, 226);
/* oklch */ color: oklch(52.3% 0.221 282.7);
Tailwind
colors: {
  custom: {
    50: '#9a7dec',
    500: '#6048e2',
    950: '#000000',
  },
}
SCSS
$custom: #6048e2;
$custom-light: #9a7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6048e2",
  "rgb": {
    "r": 96,
    "g": 72,
    "b": 226
  },
  "hsl": {
    "h": 249.351,
    "s": 72.642,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52337,
    "c": 0.22126,
    "h": 282.7
  },
  "luminance": 0.12613
}

Semantic roles & 50–950 ramp

primary
#6048E2
secondary
#D8E1A4
accent
#EF38D3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6048E2

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

Preview Lab → · Contrast checker → · Palette generator →

#6048E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva