#6058F5#6058F5

#6058F5 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.3% C 0.226 H 278.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#6058F5
RGBrgb(96, 88, 245)
HSLhsl(243, 89%, 65%)
HSVhsv(243, 64%, 96%)
CMYKcmyk(60.8%, 64.1%, 0%, 3.9%)
CIE-LABlab(47.05, 47.70, -77.70)
CIE-LCHlch(47.05, 91.17, 301.54°)
OKLaboklab(56.34% 0.0336 -0.2238)
OKLCHoklch(56.34% 0.226 278.5)
XYZxyz(24.7897, 16.0569, 88.1615)
Luminance0.1606 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6058F5 #EDF558
analogous
#589FF5 #6058F5 #AE58F5
triadic
#6058F5 #F56058 #58F560
tetradic
#6058F5 #F5589F #EDF558 #58F5AE
square
#6058F5 #F5589F #EDF558 #58F5AE
split-complementary
#6058F5 #F5AE58 #9FF558
monochromatic
#150CC7 #291EF2 #6058F5 #9792F8 #CECBFC

Accessibility & contrast

On white

4.99
#6058F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#6058F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6058F5
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6058F5#FFFFFF#000000##FFFFFF
##6058F51.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FA
Deuteranopia (green-blind)
#0069F2
Tritanopia (blue-blind)
#00809F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6058f5;
/* rgb */ color: rgb(96, 88, 245);
/* oklch */ color: oklch(56.3% 0.226 278.5);
Tailwind
colors: {
  custom: {
    50: '#9c88fa',
    500: '#6058f5',
    950: '#000000',
  },
}
SCSS
$custom: #6058f5;
$custom-light: #9c88fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6058f5",
  "rgb": {
    "r": 96,
    "g": 88,
    "b": 245
  },
  "hsl": {
    "h": 243.057,
    "s": 88.701,
    "l": 65.294
  },
  "oklch": {
    "l": 0.56341,
    "c": 0.22635,
    "h": 278.5
  },
  "luminance": 0.16059
}

Semantic roles & 50–950 ramp

primary
#6058F5
secondary
#ECEFBA
accent
#E500DA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6058F5

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

Preview Lab → · Contrast checker → · Palette generator →

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