#3A3CB8#3A3CB8

#3A3CB8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 44.0% C 0.190 H 274.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#3A3CB8
RGBrgb(58, 60, 184)
HSLhsl(239, 52%, 47%)
HSVhsv(239, 68%, 72%)
CMYKcmyk(68.5%, 67.4%, 0%, 27.8%)
CIE-LABlab(33.12, 39.19, -65.57)
CIE-LCHlch(33.12, 76.39, 300.87°)
OKLaboklab(43.96% 0.0152 -0.1894)
OKLCHoklch(43.96% 0.19 274.6)
XYZxyz(12.0096, 7.5908, 46.1704)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CB8 #B8B63A
analogous
#3A7BB8 #3A3CB8 #773AB8
triadic
#3A3CB8 #B83A3C #3CB83A
tetradic
#3A3CB8 #B83A7B #B8B63A #3AB877
square
#3A3CB8 #B83A7B #B8B63A #3AB877
split-complementary
#3A3CB8 #B8773A #7BB83A
monochromatic
#1D1E5B #2B2D89 #3A3CB8 #6263CD #9091DC

Accessibility & contrast

On white

8.34
#3A3CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#3A3CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CB8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CB8#FFFFFF#000000##FFFFFF
##3A3CB81.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a3cb8;
/* rgb */ color: rgb(58, 60, 184);
/* oklch */ color: oklch(44.0% 0.190 274.6);
Tailwind
colors: {
  custom: {
    50: '#8172ce',
    500: '#3a3cb8',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cb8;
$custom-light: #8172ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cb8",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 184
  },
  "hsl": {
    "h": 239.048,
    "s": 52.066,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43964,
    "c": 0.19,
    "h": 274.6
  },
  "luminance": 0.07592
}

Semantic roles & 50–950 ramp

primary
#3A3CB8
secondary
#C7C687
accent
#D94CDC
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3A3CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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