#3A58CA#3A58CA

#3A58CA is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.180 H 268.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#3A58CA
RGBrgb(58, 88, 202)
HSLhsl(228, 58%, 51%)
HSVhsv(228, 71%, 79%)
CMYKcmyk(71.3%, 56.4%, 0%, 20.8%)
CIE-LABlab(41.44, 27.86, -62.50)
CIE-LCHlch(41.44, 68.43, 294.03°)
OKLaboklab(50.57% -0.006 -0.1801)
OKLCHoklch(50.57% 0.18 268.1)
XYZxyz(15.8916, 12.1416, 57.3717)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A58CA #CAAC3A
analogous
#3AA0CA #3A58CA #643ACA
triadic
#3A58CA #CA3A58 #58CA3A
tetradic
#3A58CA #CA3AA0 #CAAC3A #3ACA64
square
#3A58CA #CA3AA0 #CAAC3A #3ACA64
split-complementary
#3A58CA #CA643A #A0CA3A
monochromatic
#1D2E6C #2A429D #3A58CA #6A81D7 #9AAAE4

Accessibility & contrast

On white

6.12
#3A58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#3A58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A58CA
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A58CA#FFFFFF#000000##FFFFFF
##3A58CA1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007488
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #3a58ca;
/* rgb */ color: rgb(58, 88, 202);
/* oklch */ color: oklch(50.6% 0.180 268.1);
Tailwind
colors: {
  custom: {
    50: '#8386db',
    500: '#3a58ca',
    950: '#000000',
  },
}
SCSS
$custom: #3a58ca;
$custom-light: #8386db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a58ca",
  "rgb": {
    "r": 58,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 227.5,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50566,
    "c": 0.18023,
    "h": 268.1
  },
  "luminance": 0.12143
}

Semantic roles & 50–950 ramp

primary
#3A58CA
secondary
#D0C390
accent
#C147E1
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #3A58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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