#3A3DC1#3A3DC1

#3A3DC1 is a dark, highly saturated blue. Relative luminance 0.081; OKLCH L 45.0% C 0.200 H 273.9°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#3A3DC1
RGBrgb(58, 61, 193)
HSLhsl(239, 54%, 49%)
HSVhsv(239, 70%, 76%)
CMYKcmyk(69.9%, 68.4%, 0%, 24.3%)
CIE-LABlab(34.16, 41.64, -69.16)
CIE-LCHlch(34.16, 80.73, 301.05°)
OKLaboklab(44.97% 0.0135 -0.1999)
OKLCHoklch(44.97% 0.2 273.9)
XYZxyz(13.0361, 8.0860, 51.3155)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DC1 #C1BE3A
analogous
#3A81C1 #3A3DC1 #7B3AC1
triadic
#3A3DC1 #C13A3D #3DC13A
tetradic
#3A3DC1 #C13A81 #C1BE3A #3AC17B
square
#3A3DC1 #C13A81 #C1BE3A #3AC17B
split-complementary
#3A3DC1 #C17B3A #81C13A
monochromatic
#1E1F63 #2C2E92 #3A3DC1 #6769D1 #9698DF

Accessibility & contrast

On white

8.02
#3A3DC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#3A3DC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DC1
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DC1#FFFFFF#000000##FFFFFF
##3A3DC11.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#004ABF
Tritanopia (blue-blind)
#00617A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3a3dc1;
/* rgb */ color: rgb(58, 61, 193);
/* oklch */ color: oklch(45.0% 0.200 273.9);
Tailwind
colors: {
  custom: {
    50: '#8373d5',
    500: '#3a3dc1',
    950: '#000000',
  },
}
SCSS
$custom: #3a3dc1;
$custom-light: #8373d5;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3dc1",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 193
  },
  "hsl": {
    "h": 238.667,
    "s": 53.785,
    "l": 49.216
  },
  "oklch": {
    "l": 0.44971,
    "c": 0.20033,
    "h": 273.9
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#3A3DC1
secondary
#CBC98C
accent
#DA4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3DC1

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

Preview Lab → · Contrast checker → · Palette generator →

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