#3A3CB9#3A3CB9

#3A3CB9 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.1% C 0.191 H 274.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3A3CB9
RGBrgb(58, 60, 185)
HSLhsl(239, 52%, 48%)
HSVhsv(239, 69%, 73%)
CMYKcmyk(68.6%, 67.6%, 0%, 27.5%)
CIE-LABlab(33.21, 39.53, -66.02)
CIE-LCHlch(33.21, 76.95, 300.92°)
OKLaboklab(44.06% 0.0151 -0.1907)
OKLCHoklch(44.06% 0.191 274.5)
XYZxyz(12.1148, 7.6329, 46.7244)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CB9 #B9B73A
analogous
#3A7CB9 #3A3CB9 #773AB9
triadic
#3A3CB9 #B93A3C #3CB93A
tetradic
#3A3CB9 #B93A7C #B9B73A #3AB977
square
#3A3CB9 #B93A7C #B9B73A #3AB977
split-complementary
#3A3CB9 #B9773A #7CB93A
monochromatic
#1D1E5C #2B2D8A #3A3CB9 #6264CE #9192DC

Accessibility & contrast

On white

8.31
#3A3CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3A3CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CB9
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CB9#FFFFFF#000000##FFFFFF
##3A3CB91.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BD
Deuteranopia (green-blind)
#0048B7
Tritanopia (blue-blind)
#005D75
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a3cb9;
/* rgb */ color: rgb(58, 60, 185);
/* oklch */ color: oklch(44.1% 0.191 274.5);
Tailwind
colors: {
  custom: {
    50: '#8172cf',
    500: '#3a3cb9',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cb9;
$custom-light: #8172cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cb9",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 239.055,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.44057,
    "c": 0.19128,
    "h": 274.5
  },
  "luminance": 0.07634
}

Semantic roles & 50–950 ramp

primary
#3A3CB9
secondary
#C7C687
accent
#D94CDC
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3A3CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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