#3A3BCC#3A3BCC

#3A3BCC is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.7% C 0.216 H 273.5°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#3A3BCC
RGBrgb(58, 59, 204)
HSLhsl(240, 59%, 51%)
HSVhsv(240, 72%, 80%)
CMYKcmyk(71.6%, 71.1%, 0%, 20%)
CIE-LABlab(34.77, 46.48, -74.57)
CIE-LCHlch(34.77, 87.87, 301.94°)
OKLaboklab(45.73% 0.0132 -0.2157)
OKLCHoklch(45.73% 0.216 273.5)
XYZxyz(14.2043, 8.3857, 57.9851)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BCC #CCCB3A
analogous
#3A84CC #3A3BCC #823ACC
triadic
#3A3BCC #CC3A3B #3BCC3A
tetradic
#3A3BCC #CC3A84 #CCCB3A #3ACC82
square
#3A3BCC #CC3A84 #CCCB3A #3ACC82
split-complementary
#3A3BCC #CC823A #84CC3A
monochromatic
#1D1D6F #292AA0 #3A3BCC #6B6BD9 #9B9CE5

Accessibility & contrast

On white

7.84
#3A3BCC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#3A3BCC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BCC
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BCC#FFFFFF#000000##FFFFFF
##3A3BCC1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3bcc;
/* rgb */ color: rgb(58, 59, 204);
/* oklch */ color: oklch(45.7% 0.216 273.5);
Tailwind
colors: {
  custom: {
    50: '#8572dd',
    500: '#3a3bcc',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bcc;
$custom-light: #8572dd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bcc",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 204
  },
  "hsl": {
    "h": 239.589,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.45726,
    "c": 0.21608,
    "h": 273.5
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#3A3BCC
secondary
#D1D191
accent
#E146E2
background
#F9F7FD
surface
#F1EDFB
border
#CBC8D4
text
#0D0815
muted
#7E7B83

Preview Lab

Preview with #3A3BCC

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

Preview Lab → · Contrast checker → · Palette generator →

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