#3A3CBE#3A3CBE

#3A3CBE is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.5% C 0.198 H 274.2°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#3A3CBE
RGBrgb(58, 60, 190)
HSLhsl(239, 53%, 49%)
HSVhsv(239, 69%, 75%)
CMYKcmyk(69.5%, 68.4%, 0%, 25.5%)
CIE-LABlab(33.66, 41.23, -68.21)
CIE-LCHlch(33.66, 79.70, 301.15°)
OKLaboklab(44.53% 0.0145 -0.1971)
OKLCHoklch(44.53% 0.198 274.2)
XYZxyz(12.6520, 7.8478, 49.5532)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CBE #BEBC3A
analogous
#3A7EBE #3A3CBE #7A3ABE
triadic
#3A3CBE #BE3A3C #3CBE3A
tetradic
#3A3CBE #BE3A7E #BEBC3A #3ABE7A
square
#3A3CBE #BE3A7E #BEBC3A #3ABE7A
split-complementary
#3A3CBE #BE7A3A #7EBE3A
monochromatic
#1D1E60 #2C2D8F #3A3CBE #6567D0 #9495DE

Accessibility & contrast

On white

8.17
#3A3CBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3A3CBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CBE
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CBE#FFFFFF#000000##FFFFFF
##3A3CBE1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#0049BC
Tritanopia (blue-blind)
#005F78
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a3cbe;
/* rgb */ color: rgb(58, 60, 190);
/* oklch */ color: oklch(44.5% 0.198 274.2);
Tailwind
colors: {
  custom: {
    50: '#8272d3',
    500: '#3a3cbe',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cbe;
$custom-light: #8272d3;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cbe",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 239.091,
    "s": 53.226,
    "l": 48.627
  },
  "oklch": {
    "l": 0.44528,
    "c": 0.19764,
    "h": 274.2
  },
  "luminance": 0.07849
}

Semantic roles & 50–950 ramp

primary
#3A3CBE
secondary
#CAC98A
accent
#DA4BDD
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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