#3A5CD4#3A5CD4

#3A5CD4 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.189 H 267.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#3A5CD4
RGBrgb(58, 92, 212)
HSLhsl(227, 64%, 53%)
HSVhsv(227, 73%, 83%)
CMYKcmyk(72.6%, 56.6%, 0%, 16.9%)
CIE-LABlab(43.22, 28.93, -65.36)
CIE-LCHlch(43.22, 71.48, 293.87°)
OKLaboklab(52.14% -0.0086 -0.1885)
OKLCHoklch(52.14% 0.189 267.4)
XYZxyz(17.4516, 13.3055, 63.9231)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A5CD4 #D4B23A
analogous
#3AA9D4 #3A5CD4 #653AD4
triadic
#3A5CD4 #D43A5C #5CD43A
tetradic
#3A5CD4 #D43AA9 #D4B23A #3AD465
square
#3A5CD4 #D43AA9 #D4B23A #3AD465
split-complementary
#3A5CD4 #D4653A #A9D43A
monochromatic
#1A2F79 #2543AB #3A5CD4 #6C86DF #9EAFEA

Accessibility & contrast

On white

5.74
#3A5CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#3A5CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A5CD4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A5CD4#FFFFFF#000000##FFFFFF
##3A5CD41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#007A8F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #3a5cd4;
/* rgb */ color: rgb(58, 92, 212);
/* oklch */ color: oklch(52.1% 0.189 267.4);
Tailwind
colors: {
  custom: {
    50: '#8489e2',
    500: '#3a5cd4',
    950: '#000000',
  },
}
SCSS
$custom: #3a5cd4;
$custom-light: #8489e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a5cd4",
  "rgb": {
    "r": 58,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 226.753,
    "s": 64.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.18868,
    "h": 267.4
  },
  "luminance": 0.13307
}

Semantic roles & 50–950 ramp

primary
#3A5CD4
secondary
#D6C794
accent
#C241E7
background
#F8F8FE
surface
#F0F0FC
border
#CBCBD5
text
#0C0B15
muted
#7D7C84

Preview Lab

Preview with #3A5CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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