#3A3BCA#3A3BCA

#3A3BCA is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.5% C 0.214 H 273.6°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#3A3BCA
RGBrgb(58, 59, 202)
HSLhsl(240, 58%, 51%)
HSVhsv(240, 71%, 79%)
CMYKcmyk(71.3%, 70.8%, 0%, 20.8%)
CIE-LABlab(34.58, 45.83, -73.73)
CIE-LCHlch(34.58, 86.81, 301.86°)
OKLaboklab(45.53% 0.0135 -0.2132)
OKLCHoklch(45.53% 0.214 273.6)
XYZxyz(13.9660, 8.2904, 56.7298)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BCA #CAC93A
analogous
#3A83CA #3A3BCA #813ACA
triadic
#3A3BCA #CA3A3B #3BCA3A
tetradic
#3A3BCA #CA3A83 #CAC93A #3ACA81
square
#3A3BCA #CA3A83 #CAC93A #3ACA81
split-complementary
#3A3BCA #CA813A #83CA3A
monochromatic
#1D1E6C #2A2B9D #3A3BCA #6A6BD7 #9A9BE4

Accessibility & contrast

On white

7.90
#3A3BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3A3BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BCA
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BCA#FFFFFF#000000##FFFFFF
##3A3BCA1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#004AC7
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a3bca;
/* rgb */ color: rgb(58, 59, 202);
/* oklch */ color: oklch(45.5% 0.214 273.6);
Tailwind
colors: {
  custom: {
    50: '#8572db',
    500: '#3a3bca',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bca;
$custom-light: #8572db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bca",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 239.583,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.4553,
    "c": 0.21364,
    "h": 273.6
  },
  "luminance": 0.08292
}

Semantic roles & 50–950 ramp

primary
#3A3BCA
secondary
#D0CF90
accent
#E047E1
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3A3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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