#6058CA#6058CA

#6058CA is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.0% C 0.171 H 282.0°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#6058CA
RGBrgb(96, 88, 202)
HSLhsl(244, 52%, 57%)
HSVhsv(244, 56%, 79%)
CMYKcmyk(52.5%, 56.4%, 0%, 20.8%)
CIE-LABlab(43.84, 34.26, -58.50)
CIE-LCHlch(43.84, 67.79, 300.36°)
OKLaboklab(52.98% 0.0356 -0.1674)
OKLCHoklch(52.98% 0.171 282)
XYZxyz(18.9710, 13.7294, 57.5161)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6058CA #C2CA58
analogous
#5889CA #6058CA #9958CA
triadic
#6058CA #CA6058 #58CA60
tetradic
#6058CA #CA5889 #C2CA58 #58CA99
square
#6058CA #CA5889 #C2CA58 #58CA99
split-complementary
#6058CA #CA9958 #89CA58
monochromatic
#2E287F #3F37AE #6058CA #8C86D9 #B8B5E7

Accessibility & contrast

On white

5.61
#6058CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#6058CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6058CA
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6058CA#FFFFFF#000000##FFFFFF
##6058CA1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCE
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#347288
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6058ca;
/* rgb */ color: rgb(96, 88, 202);
/* oklch */ color: oklch(53.0% 0.171 282.0);
Tailwind
colors: {
  custom: {
    50: '#9587db',
    500: '#6058ca',
    950: '#000000',
  },
}
SCSS
$custom: #6058ca;
$custom-light: #9587db;
$custom-dark: #000000;
JSON
{
  "hex": "#6058ca",
  "rgb": {
    "r": 96,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 244.211,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52982,
    "c": 0.17114,
    "h": 282
  },
  "luminance": 0.13731
}

Semantic roles & 50–950 ramp

primary
#6058CA
secondary
#D3D6A8
accent
#DB4DD1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6058CA

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

Preview Lab → · Contrast checker → · Palette generator →

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