#3A3CB7#3A3CB7

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

Color values

HEX#3A3CB7
RGBrgb(58, 60, 183)
HSLhsl(239, 52%, 47%)
HSVhsv(239, 68%, 72%)
CMYKcmyk(68.3%, 67.2%, 0%, 28.2%)
CIE-LABlab(33.03, 38.85, -65.13)
CIE-LCHlch(33.03, 75.84, 300.82°)
OKLaboklab(43.87% 0.0153 -0.1881)
OKLCHoklch(43.87% 0.189 274.7)
XYZxyz(11.9052, 7.5491, 45.6203)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3CB7 #B7B53A
analogous
#3A7BB7 #3A3CB7 #773AB7
triadic
#3A3CB7 #B73A3C #3CB73A
tetradic
#3A3CB7 #B73A7B #B7B53A #3AB777
square
#3A3CB7 #B73A7B #B7B53A #3AB777
split-complementary
#3A3CB7 #B7773A #7BB73A
monochromatic
#1D1E5A #2B2D89 #3A3CB7 #6163CD #9091DC

Accessibility & contrast

On white

8.37
#3A3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3A3CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3CB7
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3CB7#FFFFFF#000000##FFFFFF
##3A3CB71.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0048B5
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3a3cb7;
/* rgb */ color: rgb(58, 60, 183);
/* oklch */ color: oklch(43.9% 0.189 274.7);
Tailwind
colors: {
  custom: {
    50: '#8172ce',
    500: '#3a3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #3a3cb7;
$custom-light: #8172ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3cb7",
  "rgb": {
    "r": 58,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 239.04,
    "s": 51.867,
    "l": 47.255
  },
  "oklch": {
    "l": 0.43871,
    "c": 0.18871,
    "h": 274.7
  },
  "luminance": 0.0755
}

Semantic roles & 50–950 ramp

primary
#3A3CB7
secondary
#C7C686
accent
#D94CDB
background
#F8F6FC
surface
#F0ECF9
border
#CBC7D2
text
#0C0814
muted
#7D7B82

Preview Lab

Preview with #3A3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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