#6058BC#6058BC

#6058BC is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.0% C 0.152 H 283.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6058BC
RGBrgb(96, 88, 188)
HSLhsl(245, 43%, 54%)
HSVhsv(245, 53%, 74%)
CMYKcmyk(48.9%, 53.2%, 0%, 26.3%)
CIE-LABlab(42.91, 29.93, -51.89)
CIE-LCHlch(42.91, 59.90, 299.98°)
OKLaboklab(51.99% 0.0352 -0.1479)
OKLCHoklch(51.99% 0.152 283.4)
XYZxyz(17.3880, 13.0962, 49.1788)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6058BC #B4BC58
analogous
#5882BC #6058BC #9258BC
triadic
#6058BC #BC6058 #58BC60
tetradic
#6058BC #BC5882 #B4BC58 #58BC92
square
#6058BC #BC5882 #B4BC58 #58BC92
split-complementary
#6058BC #BC9258 #82BC58
monochromatic
#312C6E #453E99 #6058BC #8A84CE #B3AFDF

Accessibility & contrast

On white

5.80
#6058BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6058BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6058BC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6058BC#FFFFFF#000000##FFFFFF
##6058BC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2469BF
Deuteranopia (green-blind)
#1D62BA
Tritanopia (blue-blind)
#3F6E81
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6058bc;
/* rgb */ color: rgb(96, 88, 188);
/* oklch */ color: oklch(52.0% 0.152 283.4);
Tailwind
colors: {
  custom: {
    50: '#9387d1',
    500: '#6058bc',
    950: '#000000',
  },
}
SCSS
$custom: #6058bc;
$custom-light: #9387d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6058bc",
  "rgb": {
    "r": 96,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 244.8,
    "s": 42.735,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51989,
    "c": 0.15207,
    "h": 283.4
  },
  "luminance": 0.13097
}

Semantic roles & 50–950 ramp

primary
#6058BC
secondary
#CACDA3
accent
#D355C8
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0E0B14
muted
#7E7C82

Preview Lab

Preview with #6058BC

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

Preview Lab → · Contrast checker → · Palette generator →

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