#3A3EA9#3A3EA9

#3A3EA9 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.9% C 0.168 H 275.1°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#3A3EA9
RGBrgb(58, 62, 169)
HSLhsl(238, 49%, 45%)
HSVhsv(238, 66%, 66%)
CMYKcmyk(65.7%, 63.3%, 0%, 33.7%)
CIE-LABlab(32.28, 32.78, -58.02)
CIE-LCHlch(32.28, 66.64, 299.47°)
OKLaboklab(42.95% 0.015 -0.1672)
OKLCHoklch(42.95% 0.168 275.1)
XYZxyz(10.6266, 7.2084, 38.3598)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3EA9 #A9A53A
analogous
#3A76A9 #3A3EA9 #6E3AA9
triadic
#3A3EA9 #A93A3E #3EA93A
tetradic
#3A3EA9 #A93A76 #A9A53A #3AA96E
square
#3A3EA9 #A93A76 #A9A53A #3AA96E
split-complementary
#3A3EA9 #A96E3A #76A93A
monochromatic
#1B1D4E #2A2D7B #3A3EA9 #5A5EC6 #878AD6

Accessibility & contrast

On white

8.60
#3A3EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#3A3EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3EA9
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3EA9#FFFFFF#000000##FFFFFF
##3A3EA91.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AC
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3a3ea9;
/* rgb */ color: rgb(58, 62, 169);
/* oklch */ color: oklch(42.9% 0.168 275.1);
Tailwind
colors: {
  custom: {
    50: '#7e73c3',
    500: '#3a3ea9',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ea9;
$custom-light: #7e73c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ea9",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 169
  },
  "hsl": {
    "h": 237.838,
    "s": 48.899,
    "l": 44.51
  },
  "oklch": {
    "l": 0.42949,
    "c": 0.1679,
    "h": 275.1
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#3A3EA9
secondary
#C0BE7F
accent
#D44FD8
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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