#6158E3#6158E3

#6158E3 is a mid, highly saturated blue. Relative luminance 0.151; OKLCH L 55.0% C 0.204 H 280.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#6158E3
RGBrgb(97, 88, 227)
HSLhsl(244, 71%, 62%)
HSVhsv(244, 61%, 89%)
CMYKcmyk(57.3%, 61.2%, 0%, 11%)
CIE-LABlab(45.72, 42.24, -69.73)
CIE-LCHlch(45.72, 81.53, 301.21°)
OKLaboklab(54.96% 0.0362 -0.2004)
OKLCHoklch(54.96% 0.204 280.2)
XYZxyz(22.2803, 15.0654, 74.3920)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6158E3 #DAE358
analogous
#5895E3 #6158E3 #A758E3
triadic
#6158E3 #E36158 #58E361
tetradic
#6158E3 #E35895 #DAE358 #58E3A7
square
#6158E3 #E35895 #DAE358 #58E3A7
split-complementary
#6158E3 #E3A758 #95E358
monochromatic
#251CA5 #3024D9 #6158E3 #938CEC #C4C1F5

Accessibility & contrast

On white

5.23
#6158E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#6158E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6158E3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6158E3#FFFFFF#000000##FFFFFF
##6158E31.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E7
Deuteranopia (green-blind)
#0067E0
Tritanopia (blue-blind)
#107A95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #6158e3;
/* rgb */ color: rgb(97, 88, 227);
/* oklch */ color: oklch(55.0% 0.204 280.2);
Tailwind
colors: {
  custom: {
    50: '#9988ed',
    500: '#6158e3',
    950: '#000000',
  },
}
SCSS
$custom: #6158e3;
$custom-light: #9988ed;
$custom-dark: #000000;
JSON
{
  "hex": "#6158e3",
  "rgb": {
    "r": 97,
    "g": 88,
    "b": 227
  },
  "hsl": {
    "h": 243.885,
    "s": 71.282,
    "l": 61.765
  },
  "oklch": {
    "l": 0.54957,
    "c": 0.20364,
    "h": 280.2
  },
  "luminance": 0.15067
}

Semantic roles & 50–950 ramp

primary
#6158E3
secondary
#E2E5B2
accent
#D312C7
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6158E3

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

Preview Lab → · Contrast checker → · Palette generator →

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