#3A3DC9#3A3DC9

#3A3DC9 is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.7% C 0.210 H 273.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3A3DC9
RGBrgb(58, 61, 201)
HSLhsl(239, 57%, 51%)
HSVhsv(239, 71%, 79%)
CMYKcmyk(71.1%, 69.7%, 0%, 21.2%)
CIE-LABlab(34.91, 44.33, -72.60)
CIE-LCHlch(34.91, 85.07, 301.41°)
OKLaboklab(45.74% 0.0125 -0.2099)
OKLCHoklch(45.74% 0.21 273.4)
XYZxyz(13.9528, 8.4527, 56.1432)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DC9 #C9C63A
analogous
#3A84C9 #3A3DC9 #7E3AC9
triadic
#3A3DC9 #C93A3D #3DC93A
tetradic
#3A3DC9 #C93A84 #C9C63A #3AC97E
square
#3A3DC9 #C93A84 #C9C63A #3AC97E
split-complementary
#3A3DC9 #C97E3A #84C93A
monochromatic
#1D1F6B #2B2D9B #3A3DC9 #6A6CD6 #9A9CE3

Accessibility & contrast

On white

7.80
#3A3DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3A3DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DC9
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DC9#FFFFFF#000000##FFFFFF
##3A3DC91.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CD
Deuteranopia (green-blind)
#004BC6
Tritanopia (blue-blind)
#00647E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a3dc9;
/* rgb */ color: rgb(58, 61, 201);
/* oklch */ color: oklch(45.7% 0.210 273.4);
Tailwind
colors: {
  custom: {
    50: '#8473db',
    500: '#3a3dc9',
    950: '#000000',
  },
}
SCSS
$custom: #3a3dc9;
$custom-light: #8473db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3dc9",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 201
  },
  "hsl": {
    "h": 238.741,
    "s": 56.972,
    "l": 50.784
  },
  "oklch": {
    "l": 0.45736,
    "c": 0.21031,
    "h": 273.4
  },
  "luminance": 0.08454
}

Semantic roles & 50–950 ramp

primary
#3A3DC9
secondary
#CFCE90
accent
#DD48E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3A3DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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