#6158FB#6158FB

#6158FB is a mid, highly saturated blue. Relative luminance 0.165; OKLCH L 56.9% C 0.233 H 278.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#6158FB
RGBrgb(97, 88, 251)
HSLhsl(243, 95%, 66%)
HSVhsv(243, 65%, 98%)
CMYKcmyk(61.4%, 64.9%, 0%, 1.6%)
CIE-LABlab(47.60, 49.70, -80.15)
CIE-LCHlch(47.60, 94.31, 301.80°)
OKLaboklab(56.91% 0.0342 -0.231)
OKLCHoklch(56.91% 0.233 278.4)
XYZxyz(25.8265, 16.4839, 93.0688)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6158FB #F2FB58
analogous
#58A1FB #6158FB #B358FB
triadic
#6158FB #FB6158 #58FB61
tetradic
#6158FB #FB58A1 #F2FB58 #58FBB3
square
#6158FB #FB58A1 #F2FB58 #58FBB3
split-complementary
#6158FB #FBB358 #A1FB58
monochromatic
#1005D4 #281CFA #6158FB #9A94FC #D2D0FE

Accessibility & contrast

On white

4.89
#6158FB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#6158FB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6158FB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6158FB#FFFFFF#000000##FFFFFF
##6158FB1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#006AF8
Tritanopia (blue-blind)
#0082A2
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #6158fb;
/* rgb */ color: rgb(97, 88, 251);
/* oklch */ color: oklch(56.9% 0.233 278.4);
Tailwind
colors: {
  custom: {
    50: '#9d88fe',
    500: '#6158fb',
    950: '#000000',
  },
}
SCSS
$custom: #6158fb;
$custom-light: #9d88fe;
$custom-dark: #000000;
JSON
{
  "hex": "#6158fb",
  "rgb": {
    "r": 97,
    "g": 88,
    "b": 251
  },
  "hsl": {
    "h": 243.313,
    "s": 95.322,
    "l": 66.471
  },
  "oklch": {
    "l": 0.5691,
    "c": 0.23349,
    "h": 278.4
  },
  "luminance": 0.16486
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6158FB

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

Preview Lab → · Contrast checker → · Palette generator →

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