#6058EF#6058EF

#6058EF is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.8% C 0.219 H 279.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#6058EF
RGBrgb(96, 88, 239)
HSLhsl(243, 83%, 64%)
HSVhsv(243, 63%, 94%)
CMYKcmyk(59.8%, 63.2%, 0%, 6.3%)
CIE-LABlab(46.57, 45.83, -75.12)
CIE-LCHlch(46.57, 87.99, 301.39°)
OKLaboklab(55.85% 0.0341 -0.2163)
OKLCHoklch(55.85% 0.219 279)
XYZxyz(23.8886, 15.6965, 83.4155)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6058EF #E7EF58
analogous
#589CEF #6058EF #AC58EF
triadic
#6058EF #EF6058 #58EF60
tetradic
#6058EF #EF589C #E7EF58 #58EFAC
square
#6058EF #EF589C #E7EF58 #58EFAC
split-complementary
#6058EF #EFAC58 #9CEF58
monochromatic
#1B12BB #2B20EA #6058EF #9590F4 #CAC8FA

Accessibility & contrast

On white

5.07
#6058EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#6058EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6058EF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6058EF#FFFFFF#000000##FFFFFF
##6058EF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F4
Deuteranopia (green-blind)
#0068EC
Tritanopia (blue-blind)
#007E9C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #6058ef;
/* rgb */ color: rgb(96, 88, 239);
/* oklch */ color: oklch(55.8% 0.219 279.0);
Tailwind
colors: {
  custom: {
    50: '#9b88f5',
    500: '#6058ef',
    950: '#000000',
  },
}
SCSS
$custom: #6058ef;
$custom-light: #9b88f5;
$custom-dark: #000000;
JSON
{
  "hex": "#6058ef",
  "rgb": {
    "r": 96,
    "g": 88,
    "b": 239
  },
  "hsl": {
    "h": 243.179,
    "s": 82.514,
    "l": 64.118
  },
  "oklch": {
    "l": 0.55847,
    "c": 0.21893,
    "h": 279
  },
  "luminance": 0.15698
}

Semantic roles & 50–950 ramp

primary
#6058EF
secondary
#E9ECB7
accent
#DF07D3
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6058EF

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

Preview Lab → · Contrast checker → · Palette generator →

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