#3A3EAE#3A3EAE

#3A3EAE is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.175 H 274.8°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#3A3EAE
RGBrgb(58, 62, 174)
HSLhsl(238, 50%, 45%)
HSVhsv(238, 67%, 68%)
CMYKcmyk(66.7%, 64.4%, 0%, 31.8%)
CIE-LABlab(32.70, 34.52, -60.32)
CIE-LCHlch(32.70, 69.50, 299.78°)
OKLaboklab(43.39% 0.0147 -0.174)
OKLCHoklch(43.39% 0.175 274.8)
XYZxyz(11.1050, 7.3998, 40.8793)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3EAE #AEAA3A
analogous
#3A78AE #3A3EAE #703AAE
triadic
#3A3EAE #AE3A3E #3EAE3A
tetradic
#3A3EAE #AE3A78 #AEAA3A #3AAE70
square
#3A3EAE #AE3A78 #AEAA3A #3AAE70
split-complementary
#3A3EAE #AE703A #78AE3A
monochromatic
#1B1D52 #2B2E80 #3A3EAE #5C60C9 #8A8DD8

Accessibility & contrast

On white

8.47
#3A3EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3A3EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3EAE
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3EAE#FFFFFF#000000##FFFFFF
##3A3EAE1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0048AC
Tritanopia (blue-blind)
#005B70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a3eae;
/* rgb */ color: rgb(58, 62, 174);
/* oklch */ color: oklch(43.4% 0.175 274.8);
Tailwind
colors: {
  custom: {
    50: '#7f73c7',
    500: '#3a3eae',
    950: '#000000',
  },
}
SCSS
$custom: #3a3eae;
$custom-light: #7f73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3eae",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 174
  },
  "hsl": {
    "h": 237.931,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43391,
    "c": 0.17459,
    "h": 274.8
  },
  "luminance": 0.07401
}

Semantic roles & 50–950 ramp

primary
#3A3EAE
secondary
#C2C081
accent
#D54EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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