#3A3DC5#3A3DC5

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

Color values

HEX#3A3DC5
RGBrgb(58, 61, 197)
HSLhsl(239, 55%, 50%)
HSVhsv(239, 71%, 77%)
CMYKcmyk(70.6%, 69%, 0%, 22.7%)
CIE-LABlab(34.53, 42.99, -70.89)
CIE-LCHlch(34.53, 82.90, 301.23°)
OKLaboklab(45.35% 0.013 -0.2049)
OKLCHoklch(45.35% 0.205 273.6)
XYZxyz(13.4883, 8.2669, 53.6973)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DC5 #C5C23A
analogous
#3A83C5 #3A3DC5 #7C3AC5
triadic
#3A3DC5 #C53A3D #3DC53A
tetradic
#3A3DC5 #C53A83 #C5C23A #3AC57C
square
#3A3DC5 #C53A83 #C5C23A #3AC57C
split-complementary
#3A3DC5 #C57C3A #83C53A
monochromatic
#1E2066 #2C2E96 #3A3DC5 #696CD3 #999AE1

Accessibility & contrast

On white

7.91
#3A3DC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3A3DC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DC5
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DC5#FFFFFF#000000##FFFFFF
##3A3DC51.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#004BC2
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3a3dc5;
/* rgb */ color: rgb(58, 61, 197);
/* oklch */ color: oklch(45.4% 0.205 273.6);
Tailwind
colors: {
  custom: {
    50: '#8473d8',
    500: '#3a3dc5',
    950: '#000000',
  },
}
SCSS
$custom: #3a3dc5;
$custom-light: #8473d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3dc5",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 197
  },
  "hsl": {
    "h": 238.705,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.45352,
    "c": 0.20534,
    "h": 273.6
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#3A3DC5
secondary
#CDCB8E
accent
#DB4ADE
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #3A3DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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