#6058EA#6058EA

#6058EA is a mid, highly saturated blue. Relative luminance 0.154; OKLCH L 55.4% C 0.213 H 279.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#6058EA
RGBrgb(96, 88, 234)
HSLhsl(243, 78%, 63%)
HSVhsv(243, 62%, 92%)
CMYKcmyk(59%, 62.4%, 0%, 8.2%)
CIE-LABlab(46.18, 44.26, -72.94)
CIE-LCHlch(46.18, 85.32, 301.25°)
OKLaboklab(55.44% 0.0345 -0.2099)
OKLCHoklch(55.44% 0.213 279.3)
XYZxyz(23.1602, 15.4051, 79.5790)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6058EA #E2EA58
analogous
#5899EA #6058EA #A958EA
triadic
#6058EA #EA6058 #58EA60
tetradic
#6058EA #EA5899 #E2EA58 #58EAA9
square
#6058EA #EA5899 #E2EA58 #58EAA9
split-complementary
#6058EA #EAA958 #99EA58
monochromatic
#1F16B1 #2C22E3 #6058EA #948EF1 #C8C5F8

Accessibility & contrast

On white

5.15
#6058EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#6058EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6058EA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6058EA#FFFFFF#000000##FFFFFF
##6058EA1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EF
Deuteranopia (green-blind)
#0068E7
Tritanopia (blue-blind)
#007C99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #6058ea;
/* rgb */ color: rgb(96, 88, 234);
/* oklch */ color: oklch(55.4% 0.213 279.3);
Tailwind
colors: {
  custom: {
    50: '#9a88f2',
    500: '#6058ea',
    950: '#000000',
  },
}
SCSS
$custom: #6058ea;
$custom-light: #9a88f2;
$custom-dark: #000000;
JSON
{
  "hex": "#6058ea",
  "rgb": {
    "r": 96,
    "g": 88,
    "b": 234
  },
  "hsl": {
    "h": 243.288,
    "s": 77.66,
    "l": 63.137
  },
  "oklch": {
    "l": 0.55442,
    "c": 0.21267,
    "h": 279.3
  },
  "luminance": 0.15407
}

Semantic roles & 50–950 ramp

primary
#6058EA
secondary
#E6E9B5
accent
#DA0CCF
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#0F0B17
muted
#7F7C85

Preview Lab

Preview with #6058EA

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

Preview Lab → · Contrast checker → · Palette generator →

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