#6158DE#6158DE

#6158DE is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.6% C 0.197 H 280.6°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6158DE
RGBrgb(97, 88, 222)
HSLhsl(244, 67%, 61%)
HSVhsv(244, 60%, 87%)
CMYKcmyk(56.3%, 60.4%, 0%, 12.9%)
CIE-LABlab(45.35, 40.69, -67.50)
CIE-LCHlch(45.35, 78.82, 301.08°)
OKLaboklab(54.57% 0.0364 -0.1938)
OKLCHoklch(54.57% 0.197 280.6)
XYZxyz(21.6002, 14.7933, 70.8103)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6158DE #D5DE58
analogous
#5892DE #6158DE #A458DE
triadic
#6158DE #DE6158 #58DE61
tetradic
#6158DE #DE5892 #D5DE58 #58DEA4
square
#6158DE #DE5892 #D5DE58 #58DEA4
split-complementary
#6158DE #DEA458 #92DE58
monochromatic
#271F9D #3429D0 #6158DE #918BE8 #C2BEF2

Accessibility & contrast

On white

5.30
#6158DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6158DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6158DE
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6158DE#FFFFFF#000000##FFFFFF
##6158DE1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E2
Deuteranopia (green-blind)
#0066DB
Tritanopia (blue-blind)
#1D7893
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6158de;
/* rgb */ color: rgb(97, 88, 222);
/* oklch */ color: oklch(54.6% 0.197 280.6);
Tailwind
colors: {
  custom: {
    50: '#9988e9',
    500: '#6158de',
    950: '#000000',
  },
}
SCSS
$custom: #6158de;
$custom-light: #9988e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6158de",
  "rgb": {
    "r": 97,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 244.03,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54566,
    "c": 0.19724,
    "h": 280.6
  },
  "luminance": 0.14795
}

Semantic roles & 50–950 ramp

primary
#6158DE
secondary
#DFE2B0
accent
#CF17C3
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6158DE

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

Preview Lab → · Contrast checker → · Palette generator →

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