#3A3DCA#3A3DCA

#3A3DCA is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.8% C 0.212 H 273.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#3A3DCA
RGBrgb(58, 61, 202)
HSLhsl(239, 58%, 51%)
HSVhsv(239, 71%, 79%)
CMYKcmyk(71.3%, 69.8%, 0%, 20.8%)
CIE-LABlab(35.00, 44.66, -73.03)
CIE-LCHlch(35.00, 85.60, 301.45°)
OKLaboklab(45.83% 0.0124 -0.2112)
OKLCHoklch(45.83% 0.212 273.3)
XYZxyz(14.0708, 8.4999, 56.7648)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DCA #CAC73A
analogous
#3A85CA #3A3DCA #7F3ACA
triadic
#3A3DCA #CA3A3D #3DCA3A
tetradic
#3A3DCA #CA3A85 #CAC73A #3ACA7F
square
#3A3DCA #CA3A85 #CAC73A #3ACA7F
split-complementary
#3A3DCA #CA7F3A #85CA3A
monochromatic
#1D1F6C #2A2D9D #3A3DCA #6A6CD7 #9A9CE4

Accessibility & contrast

On white

7.78
#3A3DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#3A3DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DCA
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DCA#FFFFFF#000000##FFFFFF
##3A3DCA1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#004BC7
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3a3dca;
/* rgb */ color: rgb(58, 61, 202);
/* oklch */ color: oklch(45.8% 0.212 273.3);
Tailwind
colors: {
  custom: {
    50: '#8573db',
    500: '#3a3dca',
    950: '#000000',
  },
}
SCSS
$custom: #3a3dca;
$custom-light: #8573db;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3dca",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 238.75,
    "s": 57.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.45833,
    "c": 0.21154,
    "h": 273.3
  },
  "luminance": 0.08501
}

Semantic roles & 50–950 ramp

primary
#3A3DCA
secondary
#D0CE90
accent
#DE47E1
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0815
muted
#7D7B83

Preview Lab

Preview with #3A3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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