#6158FF#6158FF

#6158FF is a mid, highly saturated blue. Relative luminance 0.167; OKLCH L 57.2% C 0.238 H 278.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#6158FF
RGBrgb(97, 88, 255)
HSLhsl(243, 100%, 67%)
HSVhsv(243, 65%, 100%)
CMYKcmyk(62%, 65.5%, 0%, 0%)
CIE-LABlab(47.93, 50.94, -81.84)
CIE-LCHlch(47.93, 96.40, 301.90°)
OKLaboklab(57.25% 0.0337 -0.2359)
OKLCHoklch(57.25% 0.238 278.1)
XYZxyz(26.4637, 16.7387, 96.4247)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6158FF #F6FF58
analogous
#58A2FF #6158FF #B558FF
triadic
#6158FF #FF6158 #58FF61
tetradic
#6158FF #FF58A2 #F6FF58 #58FFB5
square
#6158FF #FF58A2 #F6FF58 #58FFB5
split-complementary
#6158FF #FFB558 #A2FF58
monochromatic
#0C00DD #271BFF #6158FF #9B95FF #D5D2FF

Accessibility & contrast

On white

4.83
#6158FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#6158FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6158FF
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6158FF#FFFFFF#000000##FFFFFF
##6158FF1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#006BFC
Tritanopia (blue-blind)
#0084A4
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #6158ff;
/* rgb */ color: rgb(97, 88, 255);
/* oklch */ color: oklch(57.2% 0.238 278.1);
Tailwind
colors: {
  custom: {
    50: '#9e88ff',
    500: '#6158ff',
    950: '#000000',
  },
}
SCSS
$custom: #6158ff;
$custom-light: #9e88ff;
$custom-dark: #000000;
JSON
{
  "hex": "#6158ff",
  "rgb": {
    "r": 97,
    "g": 88,
    "b": 255
  },
  "hsl": {
    "h": 243.234,
    "s": 100,
    "l": 67.255
  },
  "oklch": {
    "l": 0.57247,
    "c": 0.23834,
    "h": 278.1
  },
  "luminance": 0.16741
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6158FF

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

Preview Lab → · Contrast checker → · Palette generator →

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