#6158F9#6158F9

#6158F9 is a mid, highly saturated blue. Relative luminance 0.164; OKLCH L 56.7% C 0.231 H 278.6°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#6158F9
RGBrgb(97, 88, 249)
HSLhsl(243, 93%, 66%)
HSVhsv(243, 65%, 98%)
CMYKcmyk(61%, 64.7%, 0%, 2.4%)
CIE-LABlab(47.44, 49.08, -79.30)
CIE-LCHlch(47.44, 93.26, 301.76°)
OKLaboklab(56.74% 0.0344 -0.2285)
OKLCHoklch(56.74% 0.231 278.6)
XYZxyz(25.5129, 16.3584, 91.4172)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6158F9 #F0F958
analogous
#589FF9 #6158F9 #B158F9
triadic
#6158F9 #F96158 #58F961
tetradic
#6158F9 #F9589F #F0F958 #58F9B1
square
#6158F9 #F9589F #F0F958 #58F9B1
split-complementary
#6158F9 #F9B158 #9FF958
monochromatic
#1307CF #291DF7 #6158F9 #9993FB #D1CEFD

Accessibility & contrast

On white

4.92
#6158F9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#6158F9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6158F9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6158F9#FFFFFF#000000##FFFFFF
##6158F91.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FE
Deuteranopia (green-blind)
#006AF6
Tritanopia (blue-blind)
#0081A1
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6158f9;
/* rgb */ color: rgb(97, 88, 249);
/* oklch */ color: oklch(56.7% 0.231 278.6);
Tailwind
colors: {
  custom: {
    50: '#9d88fc',
    500: '#6158f9',
    950: '#000000',
  },
}
SCSS
$custom: #6158f9;
$custom-light: #9d88fc;
$custom-dark: #000000;
JSON
{
  "hex": "#6158f9",
  "rgb": {
    "r": 97,
    "g": 88,
    "b": 249
  },
  "hsl": {
    "h": 243.354,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.56743,
    "c": 0.23106,
    "h": 278.6
  },
  "luminance": 0.1636
}

Semantic roles & 50–950 ramp

primary
#6158F9
secondary
#EEF1BC
accent
#E600D9
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B18
muted
#7F7C86

Preview Lab

Preview with #6158F9

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

Preview Lab → · Contrast checker → · Palette generator →

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