#6058E8#6058E8

#6058E8 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 55.3% C 0.210 H 279.5°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#6058E8
RGBrgb(96, 88, 232)
HSLhsl(243, 76%, 63%)
HSVhsv(243, 62%, 91%)
CMYKcmyk(58.6%, 62.1%, 0%, 9%)
CIE-LABlab(46.03, 43.64, -72.06)
CIE-LCHlch(46.03, 84.25, 301.20°)
OKLaboklab(55.28% 0.0346 -0.2073)
OKLCHoklch(55.28% 0.21 279.5)
XYZxyz(22.8745, 15.2908, 78.0743)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6058E8 #E0E858
analogous
#5898E8 #6058E8 #A858E8
triadic
#6058E8 #E86058 #58E860
tetradic
#6058E8 #E85898 #E0E858 #58E8A8
square
#6058E8 #E85898 #E0E858 #58E8A8
split-complementary
#6058E8 #E8A858 #98E858
monochromatic
#2018AE #2D22E1 #6058E8 #938EEF #C6C4F7

Accessibility & contrast

On white

5.17
#6058E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#6058E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6058E8
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6058E8#FFFFFF#000000##FFFFFF
##6058E81.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6058e8;
/* rgb */ color: rgb(96, 88, 232);
/* oklch */ color: oklch(55.3% 0.210 279.5);
Tailwind
colors: {
  custom: {
    50: '#9a88f0',
    500: '#6058e8',
    950: '#000000',
  },
}
SCSS
$custom: #6058e8;
$custom-light: #9a88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#6058e8",
  "rgb": {
    "r": 96,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 243.333,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.55281,
    "c": 0.21016,
    "h": 279.5
  },
  "luminance": 0.15292
}

Semantic roles & 50–950 ramp

primary
#6058E8
secondary
#E5E8B4
accent
#D80ECD
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6058E8

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

Preview Lab → · Contrast checker → · Palette generator →

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