#3A3CD9#3A3CD9

#3A3CD9 is a mid, highly saturated blue. Relative luminance 0.091; OKLCH L 47.2% C 0.231 H 272.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#3A3CD9
RGBrgb(58, 60, 217)
HSLhsl(239, 68%, 54%)
HSVhsv(239, 73%, 85%)
CMYKcmyk(73.3%, 72.4%, 0%, 14.9%)
CIE-LABlab(36.25, 50.17, -79.65)
CIE-LCHlch(36.25, 94.13, 302.21°)
OKLaboklab(47.16% 0.0107 -0.2305)
OKLCHoklch(47.16% 0.231 272.6)
XYZxyz(15.8810, 9.1394, 66.5593)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CD9 #D9D73A
analogous
#3A8CD9 #3A3CD9 #883AD9
triadic
#3A3CD9 #D93A3C #3CD93A
tetradic
#3A3CD9 #D93A8C #D9D73A #3AD988
square
#3A3CD9 #D93A8C #D9D73A #3AD988
split-complementary
#3A3CD9 #D9883A #8CD93A
monochromatic
#191A80 #2324B3 #3A3CD9 #6D6FE3 #A1A2ED

Accessibility & contrast

On white

7.43
#3A3CD9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#3A3CD9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CD9
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CD9#FFFFFF#000000##FFFFFF
##3A3CD91.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DDE
Deuteranopia (green-blind)
#004DD6
Tritanopia (blue-blind)
#006987
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a3cd9;
/* rgb */ color: rgb(58, 60, 217);
/* oklch */ color: oklch(47.2% 0.231 272.6);
Tailwind
colors: {
  custom: {
    50: '#8873e6',
    500: '#3a3cd9',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cd9;
$custom-light: #8873e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cd9",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 217
  },
  "hsl": {
    "h": 239.245,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.47163,
    "c": 0.23073,
    "h": 272.6
  },
  "luminance": 0.09141
}

Semantic roles & 50–950 ramp

primary
#3A3CD9
secondary
#D9D895
accent
#E83DEB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3A3CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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