#6048EF#6048EF

#6048EF is a mid, highly saturated blue. Relative luminance 0.134; OKLCH L 53.5% C 0.237 H 281.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#6048EF
RGBrgb(96, 72, 239)
HSLhsl(249, 84%, 61%)
HSVhsv(249, 70%, 94%)
CMYKcmyk(59.8%, 69.9%, 0%, 6.3%)
CIE-LABlab(43.29, 54.74, -80.50)
CIE-LCHlch(43.29, 97.34, 304.22°)
OKLaboklab(53.48% 0.0465 -0.232)
OKLCHoklch(53.48% 0.237 281.3)
XYZxyz(22.7163, 13.3519, 83.0247)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6048EF #D7EF48
analogous
#4883EF #6048EF #B448EF
triadic
#6048EF #EF6048 #48EF60
tetradic
#6048EF #EF4883 #D7EF48 #48EFB4
square
#6048EF #EF4883 #D7EF48 #48EFB4
split-complementary
#6048EF #EFB448 #83EF48
monochromatic
#260FAD #3214E6 #6048EF #9180F4 #C2B9F9

Accessibility & contrast

On white

5.72
#6048EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#6048EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6048EF
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6048EF#FFFFFF#000000##FFFFFF
##6048EF1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF4
Deuteranopia (green-blind)
#0060EC
Tritanopia (blue-blind)
#007597
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6048ef;
/* rgb */ color: rgb(96, 72, 239);
/* oklch */ color: oklch(53.5% 0.237 281.3);
Tailwind
colors: {
  custom: {
    50: '#9c7df6',
    500: '#6048ef',
    950: '#000000',
  },
}
SCSS
$custom: #6048ef;
$custom-light: #9c7df6;
$custom-dark: #000000;
JSON
{
  "hex": "#6048ef",
  "rgb": {
    "r": 96,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 248.623,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53478,
    "c": 0.23665,
    "h": 281.3
  },
  "luminance": 0.13354
}

Semantic roles & 50–950 ramp

primary
#6048EF
secondary
#E0E9AA
accent
#E005C1
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6048EF

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

Preview Lab → · Contrast checker → · Palette generator →

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