#3A58C4#3A58C4

#3A58C4 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.1% C 0.172 H 267.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#3A58C4
RGBrgb(58, 88, 196)
HSLhsl(227, 54%, 50%)
HSVhsv(227, 70%, 77%)
CMYKcmyk(70.4%, 55.1%, 0%, 23.1%)
CIE-LABlab(41.00, 25.69, -59.75)
CIE-LCHlch(41.00, 65.04, 293.27°)
OKLaboklab(50.09% -0.0063 -0.172)
OKLCHoklch(50.09% 0.172 267.9)
XYZxyz(15.1950, 11.8630, 53.7028)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A58C4 #C4A63A
analogous
#3A9DC4 #3A58C4 #613AC4
triadic
#3A58C4 #C43A58 #58C43A
tetradic
#3A58C4 #C43A9D #C4A63A #3AC461
square
#3A58C4 #C43A9D #C4A63A #3AC461
split-complementary
#3A58C4 #C4613A #9DC43A
monochromatic
#1E2E66 #2C4395 #3A58C4 #6980D3 #98A8E0

Accessibility & contrast

On white

6.23
#3A58C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#3A58C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A58C4
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A58C4#FFFFFF#000000##FFFFFF
##3A58C41.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C8
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#007285
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a58c4;
/* rgb */ color: rgb(58, 88, 196);
/* oklch */ color: oklch(50.1% 0.172 267.9);
Tailwind
colors: {
  custom: {
    50: '#8186d7',
    500: '#3a58c4',
    950: '#000000',
  },
}
SCSS
$custom: #3a58c4;
$custom-light: #8186d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a58c4",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 196
  },
  "hsl": {
    "h": 226.957,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50094,
    "c": 0.17214,
    "h": 267.9
  },
  "luminance": 0.11865
}

Semantic roles & 50–950 ramp

primary
#3A58C4
secondary
#CCBF8E
accent
#BE4ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B14
muted
#7D7C83

Preview Lab

Preview with #3A58C4

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

Preview Lab → · Contrast checker → · Palette generator →

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