#6058CB#6058CB

#6058CB is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.1% C 0.172 H 281.9°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#6058CB
RGBrgb(96, 88, 203)
HSLhsl(244, 53%, 57%)
HSVhsv(244, 57%, 80%)
CMYKcmyk(52.7%, 56.7%, 0%, 20.4%)
CIE-LABlab(43.91, 34.58, -58.96)
CIE-LCHlch(43.91, 68.35, 300.39°)
OKLaboklab(53.06% 0.0356 -0.1688)
OKLCHoklch(53.06% 0.172 281.9)
XYZxyz(19.0898, 13.7769, 58.1416)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6058CB #C3CB58
analogous
#588ACB #6058CB #9A58CB
triadic
#6058CB #CB6058 #58CB60
tetradic
#6058CB #CB588A #C3CB58 #58CB9A
square
#6058CB #CB588A #C3CB58 #58CB9A
split-complementary
#6058CB #CB9A58 #8ACB58
monochromatic
#2E2881 #3F37AF #6058CB #8C87DA #B9B5E8

Accessibility & contrast

On white

5.59
#6058CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#6058CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6058CB
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6058CB#FFFFFF#000000##FFFFFF
##6058CB1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#337289
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #6058cb;
/* rgb */ color: rgb(96, 88, 203);
/* oklch */ color: oklch(53.1% 0.172 281.9);
Tailwind
colors: {
  custom: {
    50: '#9587dc',
    500: '#6058cb',
    950: '#000000',
  },
}
SCSS
$custom: #6058cb;
$custom-light: #9587dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6058cb",
  "rgb": {
    "r": 96,
    "g": 88,
    "b": 203
  },
  "hsl": {
    "h": 244.174,
    "s": 52.511,
    "l": 57.059
  },
  "oklch": {
    "l": 0.53055,
    "c": 0.17248,
    "h": 281.9
  },
  "luminance": 0.13778
}

Semantic roles & 50–950 ramp

primary
#6058CB
secondary
#D4D7A8
accent
#DC4CD2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #6058CB

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

Preview Lab → · Contrast checker → · Palette generator →

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