#3A3CB6#3A3CB6

#3A3CB6 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.8% C 0.187 H 274.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#3A3CB6
RGBrgb(58, 60, 182)
HSLhsl(239, 52%, 47%)
HSVhsv(239, 68%, 71%)
CMYKcmyk(68.1%, 67%, 0%, 28.6%)
CIE-LABlab(32.94, 38.51, -64.69)
CIE-LCHlch(32.94, 75.28, 300.77°)
OKLaboklab(43.78% 0.0155 -0.1868)
OKLCHoklch(43.78% 0.187 274.7)
XYZxyz(11.8015, 7.5076, 45.0741)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CB6 #B6B43A
analogous
#3A7AB6 #3A3CB6 #763AB6
triadic
#3A3CB6 #B63A3C #3CB63A
tetradic
#3A3CB6 #B63A7A #B6B43A #3AB676
square
#3A3CB6 #B63A7A #B6B43A #3AB676
split-complementary
#3A3CB6 #B6763A #7AB63A
monochromatic
#1C1D59 #2B2D88 #3A3CB6 #6162CD #8F90DB

Accessibility & contrast

On white

8.39
#3A3CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3A3CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CB6
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CB6#FFFFFF#000000##FFFFFF
##3A3CB61.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0048B4
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a3cb6;
/* rgb */ color: rgb(58, 60, 182);
/* oklch */ color: oklch(43.8% 0.187 274.7);
Tailwind
colors: {
  custom: {
    50: '#8072cd',
    500: '#3a3cb6',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cb6;
$custom-light: #8072cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cb6",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 239.032,
    "s": 51.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43778,
    "c": 0.18743,
    "h": 274.7
  },
  "luminance": 0.07509
}

Semantic roles & 50–950 ramp

primary
#3A3CB6
secondary
#C6C586
accent
#D94DDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3A3CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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