#6158E2#6158E2

#6158E2 is a mid, highly saturated blue. Relative luminance 0.150; OKLCH L 54.9% C 0.202 H 280.3°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#6158E2
RGBrgb(97, 88, 226)
HSLhsl(244, 70%, 62%)
HSVhsv(244, 61%, 89%)
CMYKcmyk(57.1%, 61.1%, 0%, 11.4%)
CIE-LABlab(45.65, 41.93, -69.29)
CIE-LCHlch(45.65, 80.99, 301.18°)
OKLaboklab(54.88% 0.0362 -0.1991)
OKLCHoklch(54.88% 0.202 280.3)
XYZxyz(22.1426, 15.0103, 73.6672)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6158E2 #D9E258
analogous
#5894E2 #6158E2 #A658E2
triadic
#6158E2 #E26158 #58E261
tetradic
#6158E2 #E25894 #D9E258 #58E2A6
square
#6158E2 #E25894 #D9E258 #58E2A6
split-complementary
#6158E2 #E2A658 #94E258
monochromatic
#251CA3 #3125D7 #6158E2 #928CEB #C4C0F4

Accessibility & contrast

On white

5.25
#6158E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#6158E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6158E2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6158E2#FFFFFF#000000##FFFFFF
##6158E21.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0067DF
Tritanopia (blue-blind)
#137A95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6158e2;
/* rgb */ color: rgb(97, 88, 226);
/* oklch */ color: oklch(54.9% 0.202 280.3);
Tailwind
colors: {
  custom: {
    50: '#9988ec',
    500: '#6158e2',
    950: '#000000',
  },
}
SCSS
$custom: #6158e2;
$custom-light: #9988ec;
$custom-dark: #000000;
JSON
{
  "hex": "#6158e2",
  "rgb": {
    "r": 97,
    "g": 88,
    "b": 226
  },
  "hsl": {
    "h": 243.913,
    "s": 70.408,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54878,
    "c": 0.20237,
    "h": 280.3
  },
  "luminance": 0.15012
}

Semantic roles & 50–950 ramp

primary
#6158E2
secondary
#E1E5B1
accent
#D213C6
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6158E2

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

Preview Lab → · Contrast checker → · Palette generator →

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