#3A3ECC#3A3ECC

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

Color values

HEX#3A3ECC
RGBrgb(58, 62, 204)
HSLhsl(238, 59%, 51%)
HSVhsv(238, 72%, 80%)
CMYKcmyk(71.6%, 69.6%, 0%, 20%)
CIE-LABlab(35.41, 44.74, -73.53)
CIE-LCHlch(35.41, 86.07, 301.32°)
OKLaboklab(46.18% 0.0115 -0.2126)
OKLCHoklch(46.18% 0.213 273.1)
XYZxyz(14.3630, 8.7030, 58.0379)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3ECC #CCC83A
analogous
#3A87CC #3A3ECC #7F3ACC
triadic
#3A3ECC #CC3A3E #3ECC3A
tetradic
#3A3ECC #CC3A87 #CCC83A #3ACC7F
square
#3A3ECC #CC3A87 #CCC83A #3ACC7F
split-complementary
#3A3ECC #CC7F3A #87CC3A
monochromatic
#1D1F6F #292DA0 #3A3ECC #6B6ED9 #9B9DE5

Accessibility & contrast

On white

7.66
#3A3ECC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3ECC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3ECC#FFFFFF#000000##FFFFFF
##3A3ECC1.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD0
Deuteranopia (green-blind)
#004CC9
Tritanopia (blue-blind)
#006580
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3a3ecc;
/* rgb */ color: rgb(58, 62, 204);
/* oklch */ color: oklch(46.2% 0.213 273.1);
Tailwind
colors: {
  custom: {
    50: '#8574dd',
    500: '#3a3ecc',
    950: '#000000',
  },
}
SCSS
$custom: #3a3ecc;
$custom-light: #8574dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3ecc",
  "rgb": {
    "r": 58,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 238.356,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.4618,
    "c": 0.21295,
    "h": 273.1
  },
  "luminance": 0.08704
}

Semantic roles & 50–950 ramp

primary
#3A3ECC
secondary
#D1CF91
accent
#DE46E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3A3ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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