#3A58CD#3A58CD

#3A58CD is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.8% C 0.184 H 268.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#3A58CD
RGBrgb(58, 88, 205)
HSLhsl(228, 60%, 52%)
HSVhsv(228, 72%, 80%)
CMYKcmyk(71.7%, 57.1%, 0%, 19.6%)
CIE-LABlab(41.67, 28.95, -63.87)
CIE-LCHlch(41.67, 70.12, 294.38°)
OKLaboklab(50.81% -0.0059 -0.1841)
OKLCHoklch(50.81% 0.184 268.2)
XYZxyz(16.2503, 12.2851, 59.2606)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A58CD #CDAF3A
analogous
#3AA2CD #3A58CD #663ACD
triadic
#3A58CD #CD3A58 #58CD3A
tetradic
#3A58CD #CD3AA2 #CDAF3A #3ACD66
square
#3A58CD #CD3AA2 #CDAF3A #3ACD66
split-complementary
#3A58CD #CD663A #A2CD3A
monochromatic
#1C2E70 #2941A1 #3A58CD #6B81D9 #9CABE6

Accessibility & contrast

On white

6.07
#3A58CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#3A58CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A58CD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A58CD#FFFFFF#000000##FFFFFF
##3A58CD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a58cd;
/* rgb */ color: rgb(58, 88, 205);
/* oklch */ color: oklch(50.8% 0.184 268.2);
Tailwind
colors: {
  custom: {
    50: '#8386dd',
    500: '#3a58cd',
    950: '#000000',
  },
}
SCSS
$custom: #3a58cd;
$custom-light: #8386dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a58cd",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 227.755,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50805,
    "c": 0.18423,
    "h": 268.2
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#3A58CD
secondary
#D2C591
accent
#C345E3
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A58CD

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

Preview Lab → · Contrast checker → · Palette generator →

#3A58CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva