#6058D2#6058D2

#6058D2 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.6% C 0.182 H 281.3°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#6058D2
RGBrgb(96, 88, 210)
HSLhsl(244, 58%, 58%)
HSVhsv(244, 58%, 82%)
CMYKcmyk(54.3%, 58.1%, 0%, 17.6%)
CIE-LABlab(44.40, 36.76, -62.19)
CIE-LCHlch(44.40, 72.24, 300.58°)
OKLaboklab(53.57% 0.0356 -0.1783)
OKLCHoklch(53.57% 0.182 281.3)
XYZxyz(19.9429, 14.1182, 62.6345)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6058D2 #CAD258
analogous
#588DD2 #6058D2 #9D58D2
triadic
#6058D2 #D26058 #58D260
tetradic
#6058D2 #D2588D #CAD258 #58D29D
square
#6058D2 #D2588D #CAD258 #58D29D
split-complementary
#6058D2 #D29D58 #8DD258
monochromatic
#2C258A #3B32BB #6058D2 #8E88DF #BCB8EC

Accessibility & contrast

On white

5.49
#6058D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#6058D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6058D2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6058D2#FFFFFF#000000##FFFFFF
##6058D21.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#0065CF
Tritanopia (blue-blind)
#2B758C
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6058d2;
/* rgb */ color: rgb(96, 88, 210);
/* oklch */ color: oklch(53.6% 0.182 281.3);
Tailwind
colors: {
  custom: {
    50: '#9687e1',
    500: '#6058d2',
    950: '#000000',
  },
}
SCSS
$custom: #6058d2;
$custom-light: #9687e1;
$custom-dark: #000000;
JSON
{
  "hex": "#6058d2",
  "rgb": {
    "r": 96,
    "g": 88,
    "b": 210
  },
  "hsl": {
    "h": 243.934,
    "s": 57.547,
    "l": 58.431
  },
  "oklch": {
    "l": 0.53574,
    "c": 0.18178,
    "h": 281.3
  },
  "luminance": 0.14119
}

Semantic roles & 50–950 ramp

primary
#6058D2
secondary
#D8DBAB
accent
#E147D7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6058D2

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

Preview Lab → · Contrast checker → · Palette generator →

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