#6058CF#6058CF

#6058CF is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.3% C 0.178 H 281.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#6058CF
RGBrgb(96, 88, 207)
HSLhsl(244, 55%, 58%)
HSVhsv(244, 57%, 81%)
CMYKcmyk(53.6%, 57.5%, 0%, 18.8%)
CIE-LABlab(44.19, 35.82, -60.81)
CIE-LCHlch(44.19, 70.58, 300.50°)
OKLaboklab(53.35% 0.0356 -0.1742)
OKLCHoklch(53.35% 0.178 281.5)
XYZxyz(19.5726, 13.9701, 60.6845)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6058CF #C7CF58
analogous
#588BCF #6058CF #9C58CF
triadic
#6058CF #CF6058 #58CF60
tetradic
#6058CF #CF588B #C7CF58 #58CF9C
square
#6058CF #CF588B #C7CF58 #58CF9C
split-complementary
#6058CF #CF9C58 #8BCF58
monochromatic
#2D2786 #3D34B6 #6058CF #8D88DD #BBB7EA

Accessibility & contrast

On white

5.53
#6058CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#6058CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6058CF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6058CF#FFFFFF#000000##FFFFFF
##6058CF1.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#0064CD
Tritanopia (blue-blind)
#2E748B
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6058cf;
/* rgb */ color: rgb(96, 88, 207);
/* oklch */ color: oklch(53.3% 0.178 281.5);
Tailwind
colors: {
  custom: {
    50: '#9687de',
    500: '#6058cf',
    950: '#000000',
  },
}
SCSS
$custom: #6058cf;
$custom-light: #9687de;
$custom-dark: #000000;
JSON
{
  "hex": "#6058cf",
  "rgb": {
    "r": 96,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 244.034,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.5335,
    "c": 0.17781,
    "h": 281.5
  },
  "luminance": 0.13971
}

Semantic roles & 50–950 ramp

primary
#6058CF
secondary
#D6D9AA
accent
#DF49D5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6058CF

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

Preview Lab → · Contrast checker → · Palette generator →

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