#6158EE#6158EE

#6158EE is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.8% C 0.217 H 279.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6158EE
RGBrgb(97, 88, 238)
HSLhsl(244, 82%, 64%)
HSVhsv(244, 63%, 93%)
CMYKcmyk(59.2%, 63%, 0%, 6.7%)
CIE-LABlab(46.57, 45.67, -74.56)
CIE-LCHlch(46.57, 87.44, 301.49°)
OKLaboklab(55.84% 0.0354 -0.2146)
OKLCHoklch(55.84% 0.218 279.4)
XYZxyz(23.8472, 15.6921, 82.6446)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6158EE #E5EE58
analogous
#589AEE #6158EE #AC58EE
triadic
#6158EE #EE6158 #58EE61
tetradic
#6158EE #EE589A #E5EE58 #58EEAC
square
#6158EE #EE589A #E5EE58 #58EEAC
split-complementary
#6158EE #EEAC58 #9AEE58
monochromatic
#1D13B9 #2C20E8 #6158EE #9690F4 #CAC7F9

Accessibility & contrast

On white

5.07
#6158EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6158EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6158EE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6158EE#FFFFFF#000000##FFFFFF
##6158EE1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F3
Deuteranopia (green-blind)
#0068EB
Tritanopia (blue-blind)
#007E9B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6158ee;
/* rgb */ color: rgb(97, 88, 238);
/* oklch */ color: oklch(55.8% 0.217 279.4);
Tailwind
colors: {
  custom: {
    50: '#9b88f5',
    500: '#6158ee',
    950: '#000000',
  },
}
SCSS
$custom: #6158ee;
$custom-light: #9b88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6158ee",
  "rgb": {
    "r": 97,
    "g": 88,
    "b": 238
  },
  "hsl": {
    "h": 243.6,
    "s": 81.522,
    "l": 63.922
  },
  "oklch": {
    "l": 0.55837,
    "c": 0.2175,
    "h": 279.4
  },
  "luminance": 0.15694
}

Semantic roles & 50–950 ramp

primary
#6158EE
secondary
#E8EBB7
accent
#DE08D1
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6158EE

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

Preview Lab → · Contrast checker → · Palette generator →

#6158EE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva