#3A3CB4#3A3CB4

#3A3CB4 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.6% C 0.185 H 274.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3A3CB4
RGBrgb(58, 60, 180)
HSLhsl(239, 51%, 47%)
HSVhsv(239, 68%, 71%)
CMYKcmyk(67.8%, 66.7%, 0%, 29.4%)
CIE-LABlab(32.76, 37.83, -63.79)
CIE-LCHlch(32.76, 74.17, 300.67°)
OKLaboklab(43.59% 0.0157 -0.1842)
OKLCHoklch(43.59% 0.185 274.9)
XYZxyz(11.5963, 7.4255, 43.9933)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CB4 #B4B23A
analogous
#3A79B4 #3A3CB4 #753AB4
triadic
#3A3CB4 #B43A3C #3CB43A
tetradic
#3A3CB4 #B43A79 #B4B23A #3AB475
square
#3A3CB4 #B43A79 #B4B23A #3AB475
split-complementary
#3A3CB4 #B4753A #79B43A
monochromatic
#1C1D57 #2B2D86 #3A3CB4 #6061CC #8E8FDB

Accessibility & contrast

On white

8.45
#3A3CB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3A3CB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CB4
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CB4#FFFFFF#000000##FFFFFF
##3A3CB41.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a3cb4;
/* rgb */ color: rgb(58, 60, 180);
/* oklch */ color: oklch(43.6% 0.185 274.9);
Tailwind
colors: {
  custom: {
    50: '#8072cb',
    500: '#3a3cb4',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cb4;
$custom-light: #8072cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cb4",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 180
  },
  "hsl": {
    "h": 239.016,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43593,
    "c": 0.18483,
    "h": 274.9
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#3A3CB4
secondary
#C5C485
accent
#D84DDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3A3CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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