#3A3BAC#3A3BAC

#3A3BAC is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.176 H 275.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#3A3BAC
RGBrgb(58, 59, 172)
HSLhsl(239, 50%, 45%)
HSVhsv(239, 66%, 67%)
CMYKcmyk(66.3%, 65.7%, 0%, 32.5%)
CIE-LABlab(31.82, 35.71, -60.56)
CIE-LCHlch(31.82, 70.31, 300.52°)
OKLaboklab(42.69% 0.0172 -0.1747)
OKLCHoklch(42.69% 0.176 275.6)
XYZxyz(10.7528, 7.0051, 39.8072)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3BAC #ACAB3A
analogous
#3A74AC #3A3BAC #723AAC
triadic
#3A3BAC #AC3A3B #3BAC3A
tetradic
#3A3BAC #AC3A74 #ACAB3A #3AAC72
square
#3A3BAC #AC3A74 #ACAB3A #3AAC72
split-complementary
#3A3BAC #AC723A #74AC3A
monochromatic
#1B1C50 #2B2B7E #3A3BAC #5B5CC8 #898AD7

Accessibility & contrast

On white

8.75
#3A3BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#3A3BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3BAC
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3BAC#FFFFFF#000000##FFFFFF
##3A3BAC1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0046AA
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3a3bac;
/* rgb */ color: rgb(58, 59, 172);
/* oklch */ color: oklch(42.7% 0.176 275.6);
Tailwind
colors: {
  custom: {
    50: '#7e71c6',
    500: '#3a3bac',
    950: '#000000',
  },
}
SCSS
$custom: #3a3bac;
$custom-light: #7e71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3bac",
  "rgb": {
    "r": 58,
    "g": 59,
    "b": 172
  },
  "hsl": {
    "h": 239.474,
    "s": 49.565,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42694,
    "c": 0.17556,
    "h": 275.6
  },
  "luminance": 0.07006
}

Semantic roles & 50–950 ramp

primary
#3A3BAC
secondary
#C2C180
accent
#D84FD9
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3A3BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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