#6058CD#6058CD

#6058CD is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.2% C 0.175 H 281.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#6058CD
RGBrgb(96, 88, 205)
HSLhsl(244, 54%, 57%)
HSVhsv(244, 57%, 80%)
CMYKcmyk(53.2%, 57.1%, 0%, 19.6%)
CIE-LABlab(44.05, 35.20, -59.89)
CIE-LCHlch(44.05, 69.47, 300.44°)
OKLaboklab(53.2% 0.0356 -0.1715)
OKLCHoklch(53.2% 0.175 281.7)
XYZxyz(19.3296, 13.8729, 59.4050)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6058CD #C5CD58
analogous
#588ACD #6058CD #9B58CD
triadic
#6058CD #CD6058 #58CD60
tetradic
#6058CD #CD588A #C5CD58 #58CD9B
square
#6058CD #CD588A #C5CD58 #58CD9B
split-complementary
#6058CD #CD9B58 #8ACD58
monochromatic
#2E2783 #3E35B2 #6058CD #8D87DB #BAB6E9

Accessibility & contrast

On white

5.56
#6058CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#6058CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6058CD
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6058CD#FFFFFF#000000##FFFFFF
##6058CD1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0064CB
Tritanopia (blue-blind)
#31738A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6058cd;
/* rgb */ color: rgb(96, 88, 205);
/* oklch */ color: oklch(53.2% 0.175 281.7);
Tailwind
colors: {
  custom: {
    50: '#9687dd',
    500: '#6058cd',
    950: '#000000',
  },
}
SCSS
$custom: #6058cd;
$custom-light: #9687dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6058cd",
  "rgb": {
    "r": 96,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 244.103,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53202,
    "c": 0.17515,
    "h": 281.7
  },
  "luminance": 0.13874
}

Semantic roles & 50–950 ramp

primary
#6058CD
secondary
#D5D8A9
accent
#DD4BD3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6058CD

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

Preview Lab → · Contrast checker → · Palette generator →

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