#3A3ADB#3A3ADB

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

Color values

HEX#3A3ADB
RGBrgb(58, 58, 219)
HSLhsl(240, 69%, 54%)
HSVhsv(240, 74%, 86%)
CMYKcmyk(73.5%, 73.5%, 0%, 14.1%)
CIE-LABlab(36.06, 51.92, -81.12)
CIE-LCHlch(36.06, 96.31, 302.62°)
OKLaboklab(47.09% 0.0112 -0.2347)
OKLCHoklch(47.09% 0.235 272.7)
XYZxyz(16.0399, 9.0385, 67.9034)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3ADB #DBDB3A
analogous
#3A8BDB #3A3ADB #8B3ADB
triadic
#3A3ADB #DB3A3A #3ADB3A
tetradic
#3A3ADB #DB3A8B #DBDB3A #3ADB8B
square
#3A3ADB #DB3A8B #DBDB3A #3ADB8B
split-complementary
#3A3ADB #DB8B3A #8BDB3A
monochromatic
#181883 #2121B6 #3A3ADB #6E6EE4 #A1A1EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A3ADB#FFFFFF#000000##FFFFFF
##3A3ADB1.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)
#005DE0
Deuteranopia (green-blind)
#004DD8
Tritanopia (blue-blind)
#006988
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3a3adb;
/* rgb */ color: rgb(58, 58, 219);
/* oklch */ color: oklch(47.1% 0.235 272.7);
Tailwind
colors: {
  custom: {
    50: '#8972e8',
    500: '#3a3adb',
    950: '#000000',
  },
}
SCSS
$custom: #3a3adb;
$custom-light: #8972e8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3adb",
  "rgb": {
    "r": 58,
    "g": 58,
    "b": 219
  },
  "hsl": {
    "h": 240,
    "s": 69.099,
    "l": 54.314
  },
  "oklch": {
    "l": 0.47086,
    "c": 0.23501,
    "h": 272.7
  },
  "luminance": 0.0904
}

Semantic roles & 50–950 ramp

primary
#3A3ADB
secondary
#DBDB96
accent
#EC3CEC
background
#F9F7FE
surface
#F2EDFD
border
#CCC8D5
text
#0E0816
muted
#7E7B84

Preview Lab

Preview with #3A3ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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