#3A3EA3#3A3EA3

#3A3EA3 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.160 H 275.5°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#3A3EA3
RGBrgb(58, 62, 163)
HSLhsl(238, 48%, 43%)
HSVhsv(238, 64%, 64%)
CMYKcmyk(64.4%, 62%, 0%, 36.1%)
CIE-LABlab(31.78, 30.69, -55.22)
CIE-LCHlch(31.78, 63.18, 299.06°)
OKLaboklab(42.43% 0.0153 -0.159)
OKLCHoklch(42.43% 0.16 275.5)
XYZxyz(10.0762, 6.9883, 35.4611)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3EA3 #A39F3A
analogous
#3A72A3 #3A3EA3 #6A3AA3
triadic
#3A3EA3 #A33A3E #3EA33A
tetradic
#3A3EA3 #A33A72 #A39F3A #3AA36A
square
#3A3EA3 #A33A72 #A39F3A #3AA36A
split-complementary
#3A3EA3 #A36A3A #72A33A
monochromatic
#1A1C49 #2A2D76 #3A3EA3 #575BC3 #8487D3

Accessibility & contrast

On white

8.76
#3A3EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3A3EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3EA3
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3EA3#FFFFFF#000000##FFFFFF
##3A3EA31.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0046A1
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a3ea3;
/* rgb */ color: rgb(58, 62, 163);
/* oklch */ color: oklch(42.4% 0.160 275.5);
Tailwind
colors: {
  custom: {
    50: '#7c73bf',
    500: '#3a3ea3',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ea3;
$custom-light: #7c73bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ea3",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 163
  },
  "hsl": {
    "h": 237.714,
    "s": 47.511,
    "l": 43.333
  },
  "oklch": {
    "l": 0.4243,
    "c": 0.15976,
    "h": 275.5
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#3A3EA3
secondary
#BDBB7C
accent
#D251D7
background
#F8F7FB
surface
#EFEDF7
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3A3EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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