#3A4CC2#3A4CC2

#3A4CC2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.6% C 0.184 H 271.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#3A4CC2
RGBrgb(58, 76, 194)
HSLhsl(232, 54%, 49%)
HSVhsv(232, 70%, 76%)
CMYKcmyk(70.1%, 60.8%, 0%, 23.9%)
CIE-LABlab(37.77, 32.67, -63.83)
CIE-LCHlch(37.77, 71.70, 297.11°)
OKLaboklab(47.64% 0.0031 -0.1842)
OKLCHoklch(47.64% 0.184 271)
XYZxyz(14.0637, 9.9621, 52.2102)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A4CC2 #C2B03A
analogous
#3A90C2 #3A4CC2 #6C3AC2
triadic
#3A4CC2 #C23A4C #4CC23A
tetradic
#3A4CC2 #C23A90 #C2B03A #3AC26C
square
#3A4CC2 #C23A90 #C2B03A #3AC26C
split-complementary
#3A4CC2 #C26C3A #90C23A
monochromatic
#1E2764 #2C3A93 #3A4CC2 #6776D2 #97A0E0

Accessibility & contrast

On white

7.02
#3A4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#3A4CC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A4CC2
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A4CC2#FFFFFF#000000##FFFFFF
##3A4CC21.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0053C0
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #3a4cc2;
/* rgb */ color: rgb(58, 76, 194);
/* oklch */ color: oklch(47.6% 0.184 271.0);
Tailwind
colors: {
  custom: {
    50: '#827ed5',
    500: '#3a4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #3a4cc2;
$custom-light: #827ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a4cc2",
  "rgb": {
    "r": 58,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 232.059,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.4764,
    "c": 0.18419,
    "h": 271
  },
  "luminance": 0.09963
}

Semantic roles & 50–950 ramp

primary
#3A4CC2
secondary
#CBC38D
accent
#CA4ADD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0914
muted
#7D7B83

Preview Lab

Preview with #3A4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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