#3A28AD#3A28AD

#3A28AD is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.9% C 0.197 H 278.7°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#3A28AD
RGBrgb(58, 40, 173)
HSLhsl(248, 62%, 42%)
HSVhsv(248, 77%, 68%)
CMYKcmyk(66.5%, 76.9%, 0%, 32.2%)
CIE-LABlab(27.94, 47.01, -67.54)
CIE-LCHlch(27.94, 82.29, 304.84°)
OKLaboklab(39.94% 0.0299 -0.1951)
OKLCHoklch(39.94% 0.197 278.7)
XYZxyz(10.0441, 5.4334, 40.0465)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A28AD #9BAD28
analogous
#2859AD #3A28AD #7D28AD
triadic
#3A28AD #AD3A28 #28AD3A
tetradic
#3A28AD #AD2859 #9BAD28 #28AD7D
square
#3A28AD #AD2859 #9BAD28 #28AD7D
split-complementary
#3A28AD #AD7D28 #59AD28
monochromatic
#19114A #291D7B #3A28AD #533FD3 #8071DE

Accessibility & contrast

On white

10.06
#3A28AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3A28AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A28AD
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A28AD#FFFFFF#000000##FFFFFF
##3A28AD1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a28ad;
/* rgb */ color: rgb(58, 40, 173);
/* oklch */ color: oklch(39.9% 0.197 278.7);
Tailwind
colors: {
  custom: {
    50: '#8065c7',
    500: '#3a28ad',
    950: '#000000',
  },
}
SCSS
$custom: #3a28ad;
$custom-light: #8065c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a28ad",
  "rgb": {
    "r": 58,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 248.12,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39944,
    "c": 0.19735,
    "h": 278.7
  },
  "luminance": 0.05434
}

Semantic roles & 50–950 ramp

primary
#3A28AD
secondary
#B9C56C
accent
#E642CF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A28AD

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

Preview Lab → · Contrast checker → · Palette generator →

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