#6058F6#6058F6

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

Color values

HEX#6058F6
RGBrgb(96, 88, 246)
HSLhsl(243, 90%, 65%)
HSVhsv(243, 64%, 96%)
CMYKcmyk(61%, 64.2%, 0%, 3.5%)
CIE-LABlab(47.13, 48.01, -78.13)
CIE-LCHlch(47.13, 91.70, 301.57°)
OKLaboklab(56.42% 0.0335 -0.2251)
OKLCHoklch(56.42% 0.228 278.5)
XYZxyz(24.9428, 16.1181, 88.9676)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6058F6 #EEF658
analogous
#589FF6 #6058F6 #AF58F6
triadic
#6058F6 #F66058 #58F660
tetradic
#6058F6 #F6589F #EEF658 #58F6AF
square
#6058F6 #F6589F #EEF658 #58F6AF
split-complementary
#6058F6 #F6AF58 #9FF658
monochromatic
#140BC9 #291EF3 #6058F6 #9792F9 #CFCCFC

Accessibility & contrast

On white

4.97
#6058F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#6058F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6058F6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6058F6#FFFFFF#000000##FFFFFF
##6058F61.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FB
Deuteranopia (green-blind)
#0069F3
Tritanopia (blue-blind)
#00819F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #6058f6;
/* rgb */ color: rgb(96, 88, 246);
/* oklch */ color: oklch(56.4% 0.228 278.5);
Tailwind
colors: {
  custom: {
    50: '#9c88fa',
    500: '#6058f6',
    950: '#000000',
  },
}
SCSS
$custom: #6058f6;
$custom-light: #9c88fa;
$custom-dark: #000000;
JSON
{
  "hex": "#6058f6",
  "rgb": {
    "r": 96,
    "g": 88,
    "b": 246
  },
  "hsl": {
    "h": 243.038,
    "s": 89.773,
    "l": 65.49
  },
  "oklch": {
    "l": 0.56424,
    "c": 0.22758,
    "h": 278.5
  },
  "luminance": 0.1612
}

Semantic roles & 50–950 ramp

primary
#6058F6
secondary
#EDEFBA
accent
#E600DA
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #6058F6

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

Preview Lab → · Contrast checker → · Palette generator →

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