#3A3DC3#3A3DC3

#3A3DC3 is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.2% C 0.203 H 273.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#3A3DC3
RGBrgb(58, 61, 195)
HSLhsl(239, 54%, 50%)
HSVhsv(239, 70%, 76%)
CMYKcmyk(70.3%, 68.7%, 0%, 23.5%)
CIE-LABlab(34.35, 42.31, -70.02)
CIE-LCHlch(34.35, 81.82, 301.14°)
OKLaboklab(45.16% 0.0133 -0.2024)
OKLCHoklch(45.16% 0.203 273.8)
XYZxyz(13.2607, 8.1759, 52.4984)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DC3 #C3C03A
analogous
#3A82C3 #3A3DC3 #7C3AC3
triadic
#3A3DC3 #C33A3D #3DC33A
tetradic
#3A3DC3 #C33A82 #C3C03A #3AC37C
square
#3A3DC3 #C33A82 #C3C03A #3AC37C
split-complementary
#3A3DC3 #C37C3A #82C33A
monochromatic
#1E1F65 #2C2E94 #3A3DC3 #686AD2 #9799E0

Accessibility & contrast

On white

7.97
#3A3DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3A3DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DC3
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DC3#FFFFFF#000000##FFFFFF
##3A3DC31.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3dc3;
/* rgb */ color: rgb(58, 61, 195);
/* oklch */ color: oklch(45.2% 0.203 273.8);
Tailwind
colors: {
  custom: {
    50: '#8373d6',
    500: '#3a3dc3',
    950: '#000000',
  },
}
SCSS
$custom: #3a3dc3;
$custom-light: #8373d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3dc3",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 195
  },
  "hsl": {
    "h": 238.686,
    "s": 54.15,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45161,
    "c": 0.20284,
    "h": 273.8
  },
  "luminance": 0.08177
}

Semantic roles & 50–950 ramp

primary
#3A3DC3
secondary
#CCCA8D
accent
#DA4ADE
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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