#3A3BD9#3A3BD9

#3A3BD9 is a mid, highly saturated blue. Relative luminance 0.090; OKLCH L 47.0% C 0.232 H 272.8°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#3A3BD9
RGBrgb(58, 59, 217)
HSLhsl(240, 68%, 54%)
HSVhsv(240, 73%, 85%)
CMYKcmyk(73.3%, 72.8%, 0%, 14.9%)
CIE-LABlab(36.05, 50.73, -79.98)
CIE-LCHlch(36.05, 94.71, 302.38°)
OKLaboklab(47.02% 0.0111 -0.2314)
OKLCHoklch(47.02% 0.232 272.8)
XYZxyz(15.8291, 9.0356, 66.5420)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BD9 #D9D83A
analogous
#3A8BD9 #3A3BD9 #893AD9
triadic
#3A3BD9 #D93A3B #3BD93A
tetradic
#3A3BD9 #D93A8B #D9D83A #3AD989
square
#3A3BD9 #D93A8B #D9D83A #3AD989
split-complementary
#3A3BD9 #D9893A #8BD93A
monochromatic
#191980 #2323B3 #3A3BD9 #6D6EE3 #A1A1ED

Accessibility & contrast

On white

7.48
#3A3BD9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#3A3BD9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BD9
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BD9#FFFFFF#000000##FFFFFF
##3A3BD91.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3bd9;
/* rgb */ color: rgb(58, 59, 217);
/* oklch */ color: oklch(47.0% 0.232 272.8);
Tailwind
colors: {
  custom: {
    50: '#8873e6',
    500: '#3a3bd9',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bd9;
$custom-light: #8873e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bd9",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 217
  },
  "hsl": {
    "h": 239.623,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.47022,
    "c": 0.2317,
    "h": 272.8
  },
  "luminance": 0.09037
}

Semantic roles & 50–950 ramp

primary
#3A3BD9
secondary
#D9D995
accent
#E93DEB
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0D0816
muted
#7E7B84

Preview Lab

Preview with #3A3BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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