#6058BF#6058BF

#6058BF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.2% C 0.156 H 283.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6058BF
RGBrgb(96, 88, 191)
HSLhsl(245, 45%, 55%)
HSVhsv(245, 54%, 75%)
CMYKcmyk(49.7%, 53.9%, 0%, 25.1%)
CIE-LABlab(43.10, 30.85, -53.32)
CIE-LCHlch(43.10, 61.60, 300.06°)
OKLaboklab(52.2% 0.0353 -0.1522)
OKLCHoklch(52.2% 0.156 283.1)
XYZxyz(17.7147, 13.2269, 50.8997)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6058BF #B7BF58
analogous
#5884BF #6058BF #9358BF
triadic
#6058BF #BF6058 #58BF60
tetradic
#6058BF #BF5884 #B7BF58 #58BF93
square
#6058BF #BF5884 #B7BF58 #58BF93
split-complementary
#6058BF #BF9358 #84BF58
monochromatic
#312B71 #443C9D #6058BF #8A84D0 #B4B0E1

Accessibility & contrast

On white

5.76
#6058BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#6058BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6058BF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6058BF#FFFFFF#000000##FFFFFF
##6058BF1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F69C3
Deuteranopia (green-blind)
#1662BD
Tritanopia (blue-blind)
#3D6F83
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6058bf;
/* rgb */ color: rgb(96, 88, 191);
/* oklch */ color: oklch(52.2% 0.156 283.1);
Tailwind
colors: {
  custom: {
    50: '#9487d3',
    500: '#6058bf',
    950: '#000000',
  },
}
SCSS
$custom: #6058bf;
$custom-light: #9487d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6058bf",
  "rgb": {
    "r": 96,
    "g": 88,
    "b": 191
  },
  "hsl": {
    "h": 244.66,
    "s": 44.589,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52197,
    "c": 0.1562,
    "h": 283.1
  },
  "luminance": 0.13228
}

Semantic roles & 50–950 ramp

primary
#6058BF
secondary
#CCCFA4
accent
#D454CA
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #6058BF

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

Preview Lab → · Contrast checker → · Palette generator →

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