#3A3DC2#3A3DC2

#3A3DC2 is a mid, highly saturated blue. Relative luminance 0.081; OKLCH L 45.1% C 0.202 H 273.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#3A3DC2
RGBrgb(58, 61, 194)
HSLhsl(239, 54%, 49%)
HSVhsv(239, 70%, 76%)
CMYKcmyk(70.1%, 68.6%, 0%, 23.9%)
CIE-LABlab(34.25, 41.98, -69.59)
CIE-LCHlch(34.25, 81.27, 301.10°)
OKLaboklab(45.07% 0.0134 -0.2011)
OKLCHoklch(45.07% 0.202 273.8)
XYZxyz(13.1480, 8.1308, 51.9050)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DC2 #C2BF3A
analogous
#3A81C2 #3A3DC2 #7B3AC2
triadic
#3A3DC2 #C23A3D #3DC23A
tetradic
#3A3DC2 #C23A81 #C2BF3A #3AC27B
square
#3A3DC2 #C23A81 #C2BF3A #3AC27B
split-complementary
#3A3DC2 #C27B3A #81C23A
monochromatic
#1E1F64 #2C2E93 #3A3DC2 #676AD2 #9798E0

Accessibility & contrast

On white

8.00
#3A3DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3A3DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DC2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DC2#FFFFFF#000000##FFFFFF
##3A3DC21.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#004AC0
Tritanopia (blue-blind)
#00617B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a3dc2;
/* rgb */ color: rgb(58, 61, 194);
/* oklch */ color: oklch(45.1% 0.202 273.8);
Tailwind
colors: {
  custom: {
    50: '#8373d6',
    500: '#3a3dc2',
    950: '#000000',
  },
}
SCSS
$custom: #3a3dc2;
$custom-light: #8373d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3dc2",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 194
  },
  "hsl": {
    "h": 238.676,
    "s": 53.968,
    "l": 49.412
  },
  "oklch": {
    "l": 0.45066,
    "c": 0.20159,
    "h": 273.8
  },
  "luminance": 0.08132
}

Semantic roles & 50–950 ramp

primary
#3A3DC2
secondary
#CBCA8D
accent
#DA4ADD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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