#3A3DAE#3A3DAE

#3A3DAE is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.176 H 275.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#3A3DAE
RGBrgb(58, 61, 174)
HSLhsl(238, 50%, 45%)
HSVhsv(238, 67%, 68%)
CMYKcmyk(66.7%, 64.9%, 0%, 31.8%)
CIE-LABlab(32.46, 35.15, -60.70)
CIE-LCHlch(32.46, 70.15, 300.07°)
OKLaboklab(43.22% 0.0155 -0.1751)
OKLCHoklch(43.22% 0.176 275)
XYZxyz(11.0511, 7.2920, 40.8613)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DAE #AEAB3A
analogous
#3A77AE #3A3DAE #713AAE
triadic
#3A3DAE #AE3A3D #3DAE3A
tetradic
#3A3DAE #AE3A77 #AEAB3A #3AAE71
square
#3A3DAE #AE3A77 #AEAB3A #3AAE71
split-complementary
#3A3DAE #AE713A #77AE3A
monochromatic
#1B1D52 #2B2D80 #3A3DAE #5C5FC9 #8A8CD8

Accessibility & contrast

On white

8.54
#3A3DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3A3DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DAE
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DAE#FFFFFF#000000##FFFFFF
##3A3DAE1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0047AC
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a3dae;
/* rgb */ color: rgb(58, 61, 174);
/* oklch */ color: oklch(43.2% 0.176 275.0);
Tailwind
colors: {
  custom: {
    50: '#7f73c7',
    500: '#3a3dae',
    950: '#000000',
  },
}
SCSS
$custom: #3a3dae;
$custom-light: #7f73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3dae",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 174
  },
  "hsl": {
    "h": 238.448,
    "s": 50,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.1758,
    "h": 275
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#3A3DAE
secondary
#C2C181
accent
#D64EDA
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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