#3A28AE#3A28AE

#3A28AE is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.0% C 0.199 H 278.6°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#3A28AE
RGBrgb(58, 40, 174)
HSLhsl(248, 63%, 42%)
HSVhsv(248, 77%, 68%)
CMYKcmyk(66.7%, 77%, 0%, 31.8%)
CIE-LABlab(28.04, 47.32, -67.97)
CIE-LCHlch(28.04, 82.82, 304.85°)
OKLaboklab(40.05% 0.0296 -0.1963)
OKLCHoklch(40.05% 0.199 278.6)
XYZxyz(10.1412, 5.4723, 40.5580)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A28AE #9CAE28
analogous
#2859AE #3A28AE #7D28AE
triadic
#3A28AE #AE3A28 #28AE3A
tetradic
#3A28AE #AE2859 #9CAE28 #28AE7D
square
#3A28AE #AE2859 #9CAE28 #28AE7D
split-complementary
#3A28AE #AE7D28 #59AE28
monochromatic
#19114A #291D7C #3A28AE #5440D3 #8072DF

Accessibility & contrast

On white

10.03
#3A28AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A28AE
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A28AE#FFFFFF#000000##FFFFFF
##3A28AE1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3a28ae;
/* rgb */ color: rgb(58, 40, 174);
/* oklch */ color: oklch(40.0% 0.199 278.6);
Tailwind
colors: {
  custom: {
    50: '#8065c7',
    500: '#3a28ae',
    950: '#000000',
  },
}
SCSS
$custom: #3a28ae;
$custom-light: #8065c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3a28ae",
  "rgb": {
    "r": 58,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 248.06,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40049,
    "c": 0.19853,
    "h": 278.6
  },
  "luminance": 0.05473
}

Semantic roles & 50–950 ramp

primary
#3A28AE
secondary
#BAC66C
accent
#E642D0
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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