#3A4DC4#3A4DC4

#3A4DC4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.0% C 0.186 H 270.7°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#3A4DC4
RGBrgb(58, 77, 196)
HSLhsl(232, 54%, 50%)
HSVhsv(232, 70%, 77%)
CMYKcmyk(70.4%, 60.7%, 0%, 23.1%)
CIE-LABlab(38.18, 32.75, -64.32)
CIE-LCHlch(38.18, 72.18, 296.98°)
OKLaboklab(47.99% 0.0023 -0.1856)
OKLCHoklch(47.99% 0.186 270.7)
XYZxyz(14.3592, 10.1914, 53.4242)
Luminance0.1019 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4DC4 #C4B13A
analogous
#3A92C4 #3A4DC4 #6C3AC4
triadic
#3A4DC4 #C43A4D #4DC43A
tetradic
#3A4DC4 #C43A92 #C4B13A #3AC46C
square
#3A4DC4 #C43A92 #C4B13A #3AC46C
split-complementary
#3A4DC4 #C46C3A #92C43A
monochromatic
#1E2866 #2C3A95 #3A4DC4 #6977D3 #98A2E0

Accessibility & contrast

On white

6.91
#3A4DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3A4DC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4DC4
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4DC4#FFFFFF#000000##FFFFFF
##3A4DC41.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#006B81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3a4dc4;
/* rgb */ color: rgb(58, 77, 196);
/* oklch */ color: oklch(48.0% 0.186 270.7);
Tailwind
colors: {
  custom: {
    50: '#827ed7',
    500: '#3a4dc4',
    950: '#000000',
  },
}
SCSS
$custom: #3a4dc4;
$custom-light: #827ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4dc4",
  "rgb": {
    "r": 58,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 231.739,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47994,
    "c": 0.18563,
    "h": 270.7
  },
  "luminance": 0.10193
}

Semantic roles & 50–950 ramp

primary
#3A4DC4
secondary
#CCC48E
accent
#C94ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3A4DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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