#6249E4#6249E4

#6249E4 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.8% C 0.222 H 283.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#6249E4
RGBrgb(98, 73, 228)
HSLhsl(250, 74%, 59%)
HSVhsv(250, 68%, 89%)
CMYKcmyk(57%, 68%, 0%, 10.6%)
CIE-LABlab(42.71, 51.23, -75.22)
CIE-LCHlch(42.71, 91.01, 304.25°)
OKLaboklab(52.81% 0.0503 -0.2165)
OKLCHoklch(52.81% 0.222 283.1)
XYZxyz(21.4188, 12.9618, 74.7570)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6249E4 #CBE449
analogous
#497EE4 #6249E4 #AF49E4
triadic
#6249E4 #E46249 #49E462
tetradic
#6249E4 #E4497E #CBE449 #49E4AF
square
#6249E4 #E4497E #CBE449 #49E4AF
split-complementary
#6249E4 #E4AF49 #7EE449
monochromatic
#2C179C #3C1FD1 #6249E4 #907EEC #BEB4F4

Accessibility & contrast

On white

5.85
#6249E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6249E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6249E4
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6249E4#FFFFFF#000000##FFFFFF
##6249E41.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE9
Deuteranopia (green-blind)
#0060E1
Tritanopia (blue-blind)
#197291
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6249e4;
/* rgb */ color: rgb(98, 73, 228);
/* oklch */ color: oklch(52.8% 0.222 283.1);
Tailwind
colors: {
  custom: {
    50: '#9b7eee',
    500: '#6249e4',
    950: '#000000',
  },
}
SCSS
$custom: #6249e4;
$custom-light: #9b7eee;
$custom-dark: #000000;
JSON
{
  "hex": "#6249e4",
  "rgb": {
    "r": 98,
    "g": 73,
    "b": 228
  },
  "hsl": {
    "h": 249.677,
    "s": 74.163,
    "l": 59.02
  },
  "oklch": {
    "l": 0.52813,
    "c": 0.22227,
    "h": 283.1
  },
  "luminance": 0.12963
}

Semantic roles & 50–950 ramp

primary
#6249E4
secondary
#D9E3A6
accent
#F137D3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6249E4

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

Preview Lab → · Contrast checker → · Palette generator →

#6249E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva