#6058F1#6058F1

#6058F1 is a mid, highly saturated blue. Relative luminance 0.158; OKLCH L 56.0% C 0.221 H 278.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#6058F1
RGBrgb(96, 88, 241)
HSLhsl(243, 85%, 65%)
HSVhsv(243, 63%, 95%)
CMYKcmyk(60.2%, 63.5%, 0%, 5.5%)
CIE-LABlab(46.73, 46.45, -75.98)
CIE-LCHlch(46.73, 89.06, 301.44°)
OKLaboklab(56.01% 0.0339 -0.2188)
OKLCHoklch(56.01% 0.221 278.8)
XYZxyz(24.1857, 15.8153, 84.9802)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6058F1 #E9F158
analogous
#589DF1 #6058F1 #AC58F1
triadic
#6058F1 #F16058 #58F160
tetradic
#6058F1 #F1589D #E9F158 #58F1AC
square
#6058F1 #F1589D #E9F158 #58F1AC
split-complementary
#6058F1 #F1AC58 #9DF158
monochromatic
#1910BF #2A20EC #6058F1 #9690F6 #CCC9FA

Accessibility & contrast

On white

5.04
#6058F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#6058F1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6058F1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6058F1#FFFFFF#000000##FFFFFF
##6058F11.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F6
Deuteranopia (green-blind)
#0069EE
Tritanopia (blue-blind)
#007F9D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #6058f1;
/* rgb */ color: rgb(96, 88, 241);
/* oklch */ color: oklch(56.0% 0.221 278.8);
Tailwind
colors: {
  custom: {
    50: '#9b88f7',
    500: '#6058f1',
    950: '#000000',
  },
}
SCSS
$custom: #6058f1;
$custom-light: #9b88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6058f1",
  "rgb": {
    "r": 96,
    "g": 88,
    "b": 241
  },
  "hsl": {
    "h": 243.137,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.56011,
    "c": 0.22141,
    "h": 278.8
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#6058F1
secondary
#EAEDB8
accent
#E105D5
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6058F1

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

Preview Lab → · Contrast checker → · Palette generator →

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