#3A3CBB#3A3CBB

#3A3CBB is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.2% C 0.194 H 274.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#3A3CBB
RGBrgb(58, 60, 187)
HSLhsl(239, 53%, 48%)
HSVhsv(239, 69%, 73%)
CMYKcmyk(69%, 67.9%, 0%, 26.7%)
CIE-LABlab(33.39, 40.21, -66.90)
CIE-LCHlch(33.39, 78.05, 301.01°)
OKLaboklab(44.25% 0.0149 -0.1933)
OKLCHoklch(44.25% 0.194 274.4)
XYZxyz(12.3274, 7.7180, 47.8441)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CBB #BBB93A
analogous
#3A7CBB #3A3CBB #783ABB
triadic
#3A3CBB #BB3A3C #3CBB3A
tetradic
#3A3CBB #BB3A7C #BBB93A #3ABB78
square
#3A3CBB #BB3A7C #BBB93A #3ABB78
split-complementary
#3A3CBB #BB783A #7CBB3A
monochromatic
#1D1E5E #2C2D8C #3A3CBB #6365CF #9293DD

Accessibility & contrast

On white

8.26
#3A3CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#3A3CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CBB
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CBB#FFFFFF#000000##FFFFFF
##3A3CBB1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0049B9
Tritanopia (blue-blind)
#005E76
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3a3cbb;
/* rgb */ color: rgb(58, 60, 187);
/* oklch */ color: oklch(44.2% 0.194 274.4);
Tailwind
colors: {
  custom: {
    50: '#8172d1',
    500: '#3a3cbb',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cbb;
$custom-light: #8172d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cbb",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 187
  },
  "hsl": {
    "h": 239.07,
    "s": 52.653,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44245,
    "c": 0.19383,
    "h": 274.4
  },
  "luminance": 0.07719
}

Semantic roles & 50–950 ramp

primary
#3A3CBB
secondary
#C8C788
accent
#DA4CDC
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #3A3CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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