#3A58CC#3A58CC

#3A58CC is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.7% C 0.183 H 268.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#3A58CC
RGBrgb(58, 88, 204)
HSLhsl(228, 59%, 51%)
HSVhsv(228, 72%, 80%)
CMYKcmyk(71.6%, 56.9%, 0%, 20%)
CIE-LABlab(41.59, 28.59, -63.41)
CIE-LCHlch(41.59, 69.56, 294.27°)
OKLaboklab(50.72% -0.0059 -0.1828)
OKLCHoklch(50.72% 0.183 268.2)
XYZxyz(16.1300, 12.2370, 58.6269)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A58CC #CCAE3A
analogous
#3AA1CC #3A58CC #653ACC
triadic
#3A58CC #CC3A58 #58CC3A
tetradic
#3A58CC #CC3AA1 #CCAE3A #3ACC65
square
#3A58CC #CC3AA1 #CCAE3A #3ACC65
split-complementary
#3A58CC #CC653A #A1CC3A
monochromatic
#1D2E6F #2942A0 #3A58CC #6B81D9 #9BAAE5

Accessibility & contrast

On white

6.09
#3A58CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#3A58CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A58CC
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A58CC#FFFFFF#000000##FFFFFF
##3A58CC1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#007589
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a58cc;
/* rgb */ color: rgb(58, 88, 204);
/* oklch */ color: oklch(50.7% 0.183 268.2);
Tailwind
colors: {
  custom: {
    50: '#8386dc',
    500: '#3a58cc',
    950: '#000000',
  },
}
SCSS
$custom: #3a58cc;
$custom-light: #8386dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a58cc",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 227.671,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50725,
    "c": 0.18291,
    "h": 268.2
  },
  "luminance": 0.12239
}

Semantic roles & 50–950 ramp

primary
#3A58CC
secondary
#D1C491
accent
#C246E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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