#3A3EB4#3A3EB4

#3A3EB4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.9% C 0.182 H 274.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3A3EB4
RGBrgb(58, 62, 180)
HSLhsl(238, 51%, 47%)
HSVhsv(238, 68%, 71%)
CMYKcmyk(67.8%, 65.6%, 0%, 29.4%)
CIE-LABlab(33.22, 36.59, -63.03)
CIE-LCHlch(33.22, 72.89, 300.14°)
OKLaboklab(43.93% 0.0142 -0.1819)
OKLCHoklch(43.93% 0.183 274.5)
XYZxyz(11.7030, 7.6390, 44.0289)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3EB4 #B4B03A
analogous
#3A7BB4 #3A3EB4 #733AB4
triadic
#3A3EB4 #B43A3E #3EB43A
tetradic
#3A3EB4 #B43A7B #B4B03A #3AB473
square
#3A3EB4 #B43A7B #B4B03A #3AB473
split-complementary
#3A3EB4 #B4733A #7BB43A
monochromatic
#1C1E57 #2B2E86 #3A3EB4 #6063CC #8E90DB

Accessibility & contrast

On white

8.31
#3A3EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3A3EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3EB4
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3EB4#FFFFFF#000000##FFFFFF
##3A3EB41.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0049B2
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a3eb4;
/* rgb */ color: rgb(58, 62, 180);
/* oklch */ color: oklch(43.9% 0.182 274.5);
Tailwind
colors: {
  custom: {
    50: '#8073cb',
    500: '#3a3eb4',
    950: '#000000',
  },
}
SCSS
$custom: #3a3eb4;
$custom-light: #8073cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3eb4",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 180
  },
  "hsl": {
    "h": 238.033,
    "s": 51.261,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4393,
    "c": 0.1825,
    "h": 274.5
  },
  "luminance": 0.0764
}

Semantic roles & 50–950 ramp

primary
#3A3EB4
secondary
#C5C385
accent
#D64DDB
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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