#3A3CA7#3A3CA7

#3A3CA7 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.4% C 0.168 H 275.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#3A3CA7
RGBrgb(58, 60, 167)
HSLhsl(239, 48%, 44%)
HSVhsv(239, 65%, 65%)
CMYKcmyk(65.3%, 64.1%, 0%, 34.5%)
CIE-LABlab(31.63, 33.36, -57.88)
CIE-LCHlch(31.63, 66.81, 299.95°)
OKLaboklab(42.42% 0.0168 -0.1668)
OKLCHoklch(42.42% 0.168 275.7)
XYZxyz(10.3335, 6.9204, 37.3429)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CA7 #A7A53A
analogous
#3A73A7 #3A3CA7 #6F3AA7
triadic
#3A3CA7 #A73A3C #3CA73A
tetradic
#3A3CA7 #A73A73 #A7A53A #3AA76F
square
#3A3CA7 #A73A73 #A7A53A #3AA76F
split-complementary
#3A3CA7 #A76F3A #73A73A
monochromatic
#1A1B4C #2A2C7A #3A3CA7 #595BC5 #8688D5

Accessibility & contrast

On white

8.81
#3A3CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3A3CA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CA7
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CA7#FFFFFF#000000##FFFFFF
##3A3CA71.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#00576C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3a3ca7;
/* rgb */ color: rgb(58, 60, 167);
/* oklch */ color: oklch(42.4% 0.168 275.7);
Tailwind
colors: {
  custom: {
    50: '#7d72c2',
    500: '#3a3ca7',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ca7;
$custom-light: #7d72c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ca7",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 238.899,
    "s": 48.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42419,
    "c": 0.16769,
    "h": 275.7
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#3A3CA7
secondary
#BFBE7E
accent
#D650D8
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3A3CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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