#6058DF#6058DF

#6058DF is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.6% C 0.199 H 280.2°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#6058DF
RGBrgb(96, 88, 223)
HSLhsl(244, 68%, 61%)
HSVhsv(244, 61%, 87%)
CMYKcmyk(57%, 60.5%, 0%, 12.5%)
CIE-LABlab(45.35, 40.82, -68.08)
CIE-LCHlch(45.35, 79.38, 300.95°)
OKLaboklab(54.57% 0.0351 -0.1956)
OKLCHoklch(54.57% 0.199 280.2)
XYZxyz(21.6287, 14.7925, 71.5132)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6058DF #D7DF58
analogous
#5893DF #6058DF #A458DF
triadic
#6058DF #DF6058 #58DF60
tetradic
#6058DF #DF5893 #D7DF58 #58DFA4
square
#6058DF #DF5893 #D7DF58 #58DFA4
split-complementary
#6058DF #DFA458 #93DF58
monochromatic
#261E9E #3228D2 #6058DF #918BE9 #C2BFF3

Accessibility & contrast

On white

5.30
#6058DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#6058DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6058DF
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6058DF#FFFFFF#000000##FFFFFF
##6058DF1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#157993
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #6058df;
/* rgb */ color: rgb(96, 88, 223);
/* oklch */ color: oklch(54.6% 0.199 280.2);
Tailwind
colors: {
  custom: {
    50: '#9887ea',
    500: '#6058df',
    950: '#000000',
  },
}
SCSS
$custom: #6058df;
$custom-light: #9887ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6058df",
  "rgb": {
    "r": 96,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 243.556,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54569,
    "c": 0.1987,
    "h": 280.2
  },
  "luminance": 0.14794
}

Semantic roles & 50–950 ramp

primary
#6058DF
secondary
#E0E3B0
accent
#D016C5
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B16
muted
#7F7C84

Preview Lab

Preview with #6058DF

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

Preview Lab → · Contrast checker → · Palette generator →

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