#3A4CD5#3A4CD5

#3A4CD5 is a mid, highly saturated blue. Relative luminance 0.109; OKLCH L 49.3% C 0.209 H 270.6°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#3A4CD5
RGBrgb(58, 76, 213)
HSLhsl(233, 65%, 53%)
HSVhsv(233, 73%, 84%)
CMYKcmyk(72.8%, 64.3%, 0%, 16.5%)
CIE-LABlab(39.36, 39.36, -72.24)
CIE-LCHlch(39.36, 82.26, 298.59°)
OKLaboklab(49.3% 0.0023 -0.2088)
OKLCHoklch(49.3% 0.209 270.6)
XYZxyz(16.3355, 10.8708, 64.1753)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4CD5 #D5C33A
analogous
#3A9AD5 #3A4CD5 #753AD5
triadic
#3A4CD5 #D53A4C #4CD53A
tetradic
#3A4CD5 #D53A9A #D5C33A #3AD575
square
#3A4CD5 #D53A9A #D5C33A #3AD575
split-complementary
#3A4CD5 #D5753A #9AD53A
monochromatic
#1A257A #2535AD #3A4CD5 #6C7AE0 #9FA8EB

Accessibility & contrast

On white

6.62
#3A4CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#3A4CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4CD5
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4CD5#FFFFFF#000000##FFFFFF
##3A4CD51.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D9
Deuteranopia (green-blind)
#0056D2
Tritanopia (blue-blind)
#00708A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3a4cd5;
/* rgb */ color: rgb(58, 76, 213);
/* oklch */ color: oklch(49.3% 0.209 270.6);
Tailwind
colors: {
  custom: {
    50: '#867ee3',
    500: '#3a4cd5',
    950: '#000000',
  },
}
SCSS
$custom: #3a4cd5;
$custom-light: #867ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4cd5",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 233.032,
    "s": 64.854,
    "l": 53.137
  },
  "oklch": {
    "l": 0.493,
    "c": 0.20883,
    "h": 270.6
  },
  "luminance": 0.10873
}

Semantic roles & 50–950 ramp

primary
#3A4CD5
secondary
#D7CF94
accent
#D440E8
background
#F9F7FE
surface
#F1EEFC
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3A4CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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