#3A3DCE#3A3DCE

#3A3DCE is a mid, highly saturated blue. Relative luminance 0.087; OKLCH L 46.2% C 0.216 H 273.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#3A3DCE
RGBrgb(58, 61, 206)
HSLhsl(239, 60%, 52%)
HSVhsv(239, 72%, 81%)
CMYKcmyk(71.8%, 70.4%, 0%, 19.2%)
CIE-LABlab(35.38, 45.99, -74.73)
CIE-LCHlch(35.38, 87.75, 301.61°)
OKLaboklab(46.22% 0.0118 -0.2161)
OKLCHoklch(46.22% 0.216 273.1)
XYZxyz(14.5505, 8.6918, 59.2914)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3DCE #CECB3A
analogous
#3A87CE #3A3DCE #813ACE
triadic
#3A3DCE #CE3A3D #3DCE3A
tetradic
#3A3DCE #CE3A87 #CECB3A #3ACE81
square
#3A3DCE #CE3A87 #CECB3A #3ACE81
split-complementary
#3A3DCE #CE813A #87CE3A
monochromatic
#1C1E71 #282BA2 #3A3DCE #6B6DDA #9C9EE6

Accessibility & contrast

On white

7.67
#3A3DCE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#3A3DCE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3DCE
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3DCE#FFFFFF#000000##FFFFFF
##3A3DCE1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#004CCB
Tritanopia (blue-blind)
#006581
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a3dce;
/* rgb */ color: rgb(58, 61, 206);
/* oklch */ color: oklch(46.2% 0.216 273.1);
Tailwind
colors: {
  custom: {
    50: '#8674de',
    500: '#3a3dce',
    950: '#000000',
  },
}
SCSS
$custom: #3a3dce;
$custom-light: #8674de;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3dce",
  "rgb": {
    "r": 58,
    "g": 61,
    "b": 206
  },
  "hsl": {
    "h": 238.784,
    "s": 60.163,
    "l": 51.765
  },
  "oklch": {
    "l": 0.46222,
    "c": 0.21646,
    "h": 273.1
  },
  "luminance": 0.08693
}

Semantic roles & 50–950 ramp

primary
#3A3DCE
secondary
#D2D191
accent
#E044E3
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3A3DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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