#3B28AC#3B28AC

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

Color values

HEX#3B28AC
RGBrgb(59, 40, 172)
HSLhsl(249, 62%, 42%)
HSVhsv(249, 77%, 67%)
CMYKcmyk(65.7%, 76.7%, 0%, 32.5%)
CIE-LABlab(27.91, 46.81, -66.98)
CIE-LCHlch(27.91, 81.72, 304.95°)
OKLaboklab(39.92% 0.0316 -0.1934)
OKLCHoklch(39.92% 0.196 279.3)
XYZxyz(10.0064, 5.4251, 39.5416)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B28AC #99AC28
analogous
#2857AC #3B28AC #7D28AC
triadic
#3B28AC #AC3B28 #28AC3B
tetradic
#3B28AC #AC2857 #99AC28 #28AC7D
square
#3B28AC #AC2857 #99AC28 #28AC7D
split-complementary
#3B28AC #AC7D28 #57AC28
monochromatic
#191149 #2A1C7A #3B28AC #543FD2 #8071DE

Accessibility & contrast

On white

10.07
#3B28AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B28AC
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B28AC#FFFFFF#000000##FFFFFF
##3B28AC1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3b28ac;
/* rgb */ color: rgb(59, 40, 172);
/* oklch */ color: oklch(39.9% 0.196 279.3);
Tailwind
colors: {
  custom: {
    50: '#8065c6',
    500: '#3b28ac',
    950: '#000000',
  },
}
SCSS
$custom: #3b28ac;
$custom-light: #8065c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3b28ac",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 248.636,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39918,
    "c": 0.19595,
    "h": 279.3
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#3B28AC
secondary
#B8C56B
accent
#E542CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B28AC

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

Preview Lab → · Contrast checker → · Palette generator →

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