#3A3CBD#3A3CBD

#3A3CBD is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.4% C 0.196 H 274.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#3A3CBD
RGBrgb(58, 60, 189)
HSLhsl(239, 53%, 48%)
HSVhsv(239, 69%, 74%)
CMYKcmyk(69.3%, 68.3%, 0%, 25.9%)
CIE-LABlab(33.57, 40.89, -67.77)
CIE-LCHlch(33.57, 79.15, 301.10°)
OKLaboklab(44.43% 0.0147 -0.1958)
OKLCHoklch(44.43% 0.196 274.3)
XYZxyz(12.5430, 7.8042, 48.9796)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CBD #BDBB3A
analogous
#3A7DBD #3A3CBD #793ABD
triadic
#3A3CBD #BD3A3C #3CBD3A
tetradic
#3A3CBD #BD3A7D #BDBB3A #3ABD79
square
#3A3CBD #BD3A7D #BDBB3A #3ABD79
split-complementary
#3A3CBD #BD793A #7DBD3A
monochromatic
#1D1E5F #2C2D8E #3A3CBD #6566D0 #9395DE

Accessibility & contrast

On white

8.20
#3A3CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3A3CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CBD
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CBD#FFFFFF#000000##FFFFFF
##3A3CBD1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0049BB
Tritanopia (blue-blind)
#005F77
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a3cbd;
/* rgb */ color: rgb(58, 60, 189);
/* oklch */ color: oklch(44.4% 0.196 274.3);
Tailwind
colors: {
  custom: {
    50: '#8272d2',
    500: '#3a3cbd',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cbd;
$custom-light: #8272d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cbd",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 189
  },
  "hsl": {
    "h": 239.084,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.44433,
    "c": 0.19638,
    "h": 274.3
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#3A3CBD
secondary
#C9C88A
accent
#DA4BDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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