#3A3CB5#3A3CB5

#3A3CB5 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.186 H 274.8°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#3A3CB5
RGBrgb(58, 60, 181)
HSLhsl(239, 51%, 47%)
HSVhsv(239, 68%, 71%)
CMYKcmyk(68%, 66.9%, 0%, 29%)
CIE-LABlab(32.85, 38.17, -64.24)
CIE-LCHlch(32.85, 74.72, 300.72°)
OKLaboklab(43.69% 0.0156 -0.1855)
OKLCHoklch(43.69% 0.186 274.8)
XYZxyz(11.6985, 7.4664, 44.5318)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CB5 #B5B33A
analogous
#3A7AB5 #3A3CB5 #753AB5
triadic
#3A3CB5 #B53A3C #3CB53A
tetradic
#3A3CB5 #B53A7A #B5B33A #3AB575
square
#3A3CB5 #B53A7A #B5B33A #3AB575
split-complementary
#3A3CB5 #B5753A #7AB53A
monochromatic
#1C1D58 #2B2D87 #3A3CB5 #6062CC #8E90DB

Accessibility & contrast

On white

8.42
#3A3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3A3CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CB5
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CB5#FFFFFF#000000##FFFFFF
##3A3CB51.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0048B3
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3a3cb5;
/* rgb */ color: rgb(58, 60, 181);
/* oklch */ color: oklch(43.7% 0.186 274.8);
Tailwind
colors: {
  custom: {
    50: '#8072cc',
    500: '#3a3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cb5;
$custom-light: #8072cc;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cb5",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 239.024,
    "s": 51.464,
    "l": 46.863
  },
  "oklch": {
    "l": 0.43686,
    "c": 0.18613,
    "h": 274.8
  },
  "luminance": 0.07467
}

Semantic roles & 50–950 ramp

primary
#3A3CB5
secondary
#C6C585
accent
#D94DDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0813
muted
#7D7B82

Preview Lab

Preview with #3A3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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