#3A58C6#3A58C6

#3A58C6 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.2% C 0.175 H 268.0°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#3A58C6
RGBrgb(58, 88, 198)
HSLhsl(227, 55%, 50%)
HSVhsv(227, 71%, 78%)
CMYKcmyk(70.7%, 55.6%, 0%, 22.4%)
CIE-LABlab(41.14, 26.42, -60.67)
CIE-LCHlch(41.14, 66.17, 293.53°)
OKLaboklab(50.25% -0.0062 -0.1747)
OKLCHoklch(50.25% 0.175 268)
XYZxyz(15.4242, 11.9546, 54.9097)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A58C6 #C6A83A
analogous
#3A9EC6 #3A58C6 #623AC6
triadic
#3A58C6 #C63A58 #58C63A
tetradic
#3A58C6 #C63A9E #C6A83A #3AC662
square
#3A58C6 #C63A9E #C6A83A #3AC662
split-complementary
#3A58C6 #C6623A #9EC63A
monochromatic
#1E2E68 #2C4397 #3A58C6 #6980D4 #99A8E1

Accessibility & contrast

On white

6.19
#3A58C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#3A58C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A58C6
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A58C6#FFFFFF#000000##FFFFFF
##3A58C61.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CA
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#007386
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #3a58c6;
/* rgb */ color: rgb(58, 88, 198);
/* oklch */ color: oklch(50.2% 0.175 268.0);
Tailwind
colors: {
  custom: {
    50: '#8286d8',
    500: '#3a58c6',
    950: '#000000',
  },
}
SCSS
$custom: #3a58c6;
$custom-light: #8286d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a58c6",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 198
  },
  "hsl": {
    "h": 227.143,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5025,
    "c": 0.17485,
    "h": 268
  },
  "luminance": 0.11956
}

Semantic roles & 50–950 ramp

primary
#3A58C6
secondary
#CDC08F
accent
#BE49DE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A58C6

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

Preview Lab → · Contrast checker → · Palette generator →

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