#3A3DC6#3A3DC6

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

Color values

HEX#3A3DC6
RGBrgb(58, 61, 198)
HSLhsl(239, 55%, 50%)
HSVhsv(239, 71%, 78%)
CMYKcmyk(70.7%, 69.2%, 0%, 22.4%)
CIE-LABlab(34.63, 43.32, -71.32)
CIE-LCHlch(34.63, 83.45, 301.28°)
OKLaboklab(45.45% 0.0129 -0.2062)
OKLCHoklch(45.45% 0.207 273.6)
XYZxyz(13.6033, 8.3129, 54.3028)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DC6 #C6C33A
analogous
#3A83C6 #3A3DC6 #7D3AC6
triadic
#3A3DC6 #C63A3D #3DC63A
tetradic
#3A3DC6 #C63A83 #C6C33A #3AC67D
square
#3A3DC6 #C63A83 #C6C33A #3AC67D
split-complementary
#3A3DC6 #C67D3A #83C63A
monochromatic
#1E2068 #2C2E97 #3A3DC6 #696CD4 #999AE1

Accessibility & contrast

On white

7.89
#3A3DC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3DC6
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DC6#FFFFFF#000000##FFFFFF
##3A3DC61.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CA
Deuteranopia (green-blind)
#004BC3
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a3dc6;
/* rgb */ color: rgb(58, 61, 198);
/* oklch */ color: oklch(45.4% 0.207 273.6);
Tailwind
colors: {
  custom: {
    50: '#8473d8',
    500: '#3a3dc6',
    950: '#000000',
  },
}
SCSS
$custom: #3a3dc6;
$custom-light: #8473d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3dc6",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 198
  },
  "hsl": {
    "h": 238.714,
    "s": 55.118,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45448,
    "c": 0.20658,
    "h": 273.6
  },
  "luminance": 0.08314
}

Semantic roles & 50–950 ramp

primary
#3A3DC6
secondary
#CDCC8F
accent
#DB49DE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A3DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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