#3A4CC4#3A4CC4

#3A4CC4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.8% C 0.187 H 270.9°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#3A4CC4
RGBrgb(58, 76, 196)
HSLhsl(232, 54%, 50%)
HSVhsv(232, 70%, 77%)
CMYKcmyk(70.4%, 61.2%, 0%, 23.1%)
CIE-LABlab(37.94, 33.38, -64.73)
CIE-LCHlch(37.94, 72.83, 297.28°)
OKLaboklab(47.81% 0.003 -0.1868)
OKLCHoklch(47.81% 0.187 270.9)
XYZxyz(14.2898, 10.0525, 53.4011)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4CC4 #C4B23A
analogous
#3A91C4 #3A4CC4 #6D3AC4
triadic
#3A4CC4 #C43A4C #4CC43A
tetradic
#3A4CC4 #C43A91 #C4B23A #3AC46D
square
#3A4CC4 #C43A91 #C4B23A #3AC46D
split-complementary
#3A4CC4 #C46D3A #91C43A
monochromatic
#1E2766 #2C3A95 #3A4CC4 #6976D3 #98A1E0

Accessibility & contrast

On white

6.97
#3A4CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#3A4CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A4CC4
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4CC4#FFFFFF#000000##FFFFFF
##3A4CC41.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0053C2
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a4cc4;
/* rgb */ color: rgb(58, 76, 196);
/* oklch */ color: oklch(47.8% 0.187 270.9);
Tailwind
colors: {
  custom: {
    50: '#827ed7',
    500: '#3a4cc4',
    950: '#000000',
  },
}
SCSS
$custom: #3a4cc4;
$custom-light: #827ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4cc4",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 232.174,
    "s": 54.331,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47811,
    "c": 0.18683,
    "h": 270.9
  },
  "luminance": 0.10054
}

Semantic roles & 50–950 ramp

primary
#3A4CC4
secondary
#CCC48E
accent
#CA4ADE
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A4CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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