#3A28AC#3A28AC

#3A28AC is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.196 H 278.8°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#3A28AC
RGBrgb(58, 40, 172)
HSLhsl(248, 62%, 42%)
HSVhsv(248, 77%, 67%)
CMYKcmyk(66.3%, 76.7%, 0%, 32.5%)
CIE-LABlab(27.83, 46.70, -67.12)
CIE-LCHlch(27.83, 81.77, 304.83°)
OKLaboklab(39.84% 0.0301 -0.1938)
OKLCHoklch(39.84% 0.196 278.8)
XYZxyz(9.9477, 5.3949, 39.5388)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A28AC #9AAC28
analogous
#2858AC #3A28AC #7C28AC
triadic
#3A28AC #AC3A28 #28AC3A
tetradic
#3A28AC #AC2858 #9AAC28 #28AC7C
square
#3A28AC #AC2858 #9AAC28 #28AC7C
split-complementary
#3A28AC #AC7C28 #58AC28
monochromatic
#191149 #291C7A #3A28AC #533FD2 #7F71DE

Accessibility & contrast

On white

10.10
#3A28AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3A28AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A28AC
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A28AC#FFFFFF#000000##FFFFFF
##3A28AC1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003CAA
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a28ac;
/* rgb */ color: rgb(58, 40, 172);
/* oklch */ color: oklch(39.8% 0.196 278.8);
Tailwind
colors: {
  custom: {
    50: '#8065c6',
    500: '#3a28ac',
    950: '#000000',
  },
}
SCSS
$custom: #3a28ac;
$custom-light: #8065c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3a28ac",
  "rgb": {
    "r": 58,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 248.182,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.3984,
    "c": 0.19615,
    "h": 278.8
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#3A28AC
secondary
#B9C56B
accent
#E542CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A28AC

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

Preview Lab → · Contrast checker → · Palette generator →

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