#6058F2#6058F2

#6058F2 is a mid, highly saturated blue. Relative luminance 0.159; OKLCH L 56.1% C 0.223 H 278.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#6058F2
RGBrgb(96, 88, 242)
HSLhsl(243, 86%, 65%)
HSVhsv(243, 64%, 95%)
CMYKcmyk(60.3%, 63.6%, 0%, 5.1%)
CIE-LABlab(46.81, 46.76, -76.41)
CIE-LCHlch(46.81, 89.59, 301.46°)
OKLaboklab(56.09% 0.0338 -0.2201)
OKLCHoklch(56.09% 0.223 278.7)
XYZxyz(24.3355, 15.8752, 85.7690)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6058F2 #EAF258
analogous
#589DF2 #6058F2 #AD58F2
triadic
#6058F2 #F26058 #58F260
tetradic
#6058F2 #F2589D #EAF258 #58F2AD
square
#6058F2 #F2589D #EAF258 #58F2AD
split-complementary
#6058F2 #F2AD58 #9DF258
monochromatic
#180FC1 #2A1FEE #6058F2 #9691F6 #CCCAFB

Accessibility & contrast

On white

5.03
#6058F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#6058F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6058F2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6058F2#FFFFFF#000000##FFFFFF
##6058F21.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6058f2;
/* rgb */ color: rgb(96, 88, 242);
/* oklch */ color: oklch(56.1% 0.223 278.7);
Tailwind
colors: {
  custom: {
    50: '#9b88f7',
    500: '#6058f2',
    950: '#000000',
  },
}
SCSS
$custom: #6058f2;
$custom-light: #9b88f7;
$custom-dark: #000000;
JSON
{
  "hex": "#6058f2",
  "rgb": {
    "r": 96,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 243.117,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.56093,
    "c": 0.22265,
    "h": 278.7
  },
  "luminance": 0.15877
}

Semantic roles & 50–950 ramp

primary
#6058F2
secondary
#EBEDB8
accent
#E203D6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6058F2

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

Preview Lab → · Contrast checker → · Palette generator →

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