#6058E9#6058E9

#6058E9 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.4% C 0.211 H 279.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#6058E9
RGBrgb(96, 88, 233)
HSLhsl(243, 77%, 63%)
HSVhsv(243, 62%, 91%)
CMYKcmyk(58.8%, 62.2%, 0%, 8.6%)
CIE-LABlab(46.11, 43.95, -72.50)
CIE-LCHlch(46.11, 84.78, 301.23°)
OKLaboklab(55.36% 0.0345 -0.2086)
OKLCHoklch(55.36% 0.211 279.4)
XYZxyz(23.0169, 15.3478, 78.8245)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6058E9 #E1E958
analogous
#5899E9 #6058E9 #A858E9
triadic
#6058E9 #E96058 #58E960
tetradic
#6058E9 #E95899 #E1E958 #58E9A8
square
#6058E9 #E95899 #E1E958 #58E9A8
split-complementary
#6058E9 #E9A858 #99E958
monochromatic
#2017AF #2D22E2 #6058E9 #938EF0 #C7C4F7

Accessibility & contrast

On white

5.16
#6058E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#6058E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6058E9
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6058E9#FFFFFF#000000##FFFFFF
##6058E91.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#0067E6
Tritanopia (blue-blind)
#007C98
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6058e9;
/* rgb */ color: rgb(96, 88, 233);
/* oklch */ color: oklch(55.4% 0.211 279.4);
Tailwind
colors: {
  custom: {
    50: '#9a88f1',
    500: '#6058e9',
    950: '#000000',
  },
}
SCSS
$custom: #6058e9;
$custom-light: #9a88f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6058e9",
  "rgb": {
    "r": 96,
    "g": 88,
    "b": 233
  },
  "hsl": {
    "h": 243.31,
    "s": 76.72,
    "l": 62.941
  },
  "oklch": {
    "l": 0.55361,
    "c": 0.21142,
    "h": 279.4
  },
  "luminance": 0.15349
}

Semantic roles & 50–950 ramp

primary
#6058E9
secondary
#E6E8B4
accent
#D90DCE
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6058E9

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

Preview Lab → · Contrast checker → · Palette generator →

#6058E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva