#3A3CB3#3A3CB3

#3A3CB3 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.184 H 274.9°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#3A3CB3
RGBrgb(58, 60, 179)
HSLhsl(239, 51%, 46%)
HSVhsv(239, 68%, 70%)
CMYKcmyk(67.6%, 66.5%, 0%, 29.8%)
CIE-LABlab(32.67, 37.49, -63.34)
CIE-LCHlch(32.67, 73.61, 300.62°)
OKLaboklab(43.5% 0.0158 -0.1829)
OKLCHoklch(43.5% 0.184 274.9)
XYZxyz(11.4948, 7.3849, 43.4587)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CB3 #B3B13A
analogous
#3A79B3 #3A3CB3 #753AB3
triadic
#3A3CB3 #B33A3C #3CB33A
tetradic
#3A3CB3 #B33A79 #B3B13A #3AB375
square
#3A3CB3 #B33A79 #B3B13A #3AB375
split-complementary
#3A3CB3 #B3753A #79B33A
monochromatic
#1C1D57 #2B2D85 #3A3CB3 #5F61CB #8D8FDA

Accessibility & contrast

On white

8.48
#3A3CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3A3CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CB3
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CB3#FFFFFF#000000##FFFFFF
##3A3CB31.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a3cb3;
/* rgb */ color: rgb(58, 60, 179);
/* oklch */ color: oklch(43.5% 0.184 274.9);
Tailwind
colors: {
  custom: {
    50: '#8072cb',
    500: '#3a3cb3',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cb3;
$custom-light: #8072cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cb3",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 179
  },
  "hsl": {
    "h": 239.008,
    "s": 51.055,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43501,
    "c": 0.18354,
    "h": 274.9
  },
  "luminance": 0.07386
}

Semantic roles & 50–950 ramp

primary
#3A3CB3
secondary
#C5C484
accent
#D84DDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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