#3B28A9#3B28A9

#3B28A9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.6% C 0.192 H 279.7°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#3B28A9
RGBrgb(59, 40, 169)
HSLhsl(249, 62%, 41%)
HSVhsv(249, 76%, 66%)
CMYKcmyk(65.1%, 76.3%, 0%, 33.7%)
CIE-LABlab(27.60, 45.89, -65.68)
CIE-LCHlch(27.60, 80.12, 304.94°)
OKLaboklab(39.61% 0.0323 -0.1896)
OKLCHoklch(39.61% 0.192 279.7)
XYZxyz(9.7216, 5.3112, 38.0413)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B28A9 #96A928
analogous
#2855A9 #3B28A9 #7B28A9
triadic
#3B28A9 #A93B28 #28A93B
tetradic
#3B28A9 #A92855 #96A928 #28A97B
square
#3B28A9 #A92855 #96A928 #28A97B
split-complementary
#3B28A9 #A97B28 #55A928
monochromatic
#181146 #2A1C78 #3B28A9 #533DD1 #7F6FDD

Accessibility & contrast

On white

10.18
#3B28A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3B28A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B28A9
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B28A9#FFFFFF#000000##FFFFFF
##3B28A91.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003CA7
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3b28a9;
/* rgb */ color: rgb(59, 40, 169);
/* oklch */ color: oklch(39.6% 0.192 279.7);
Tailwind
colors: {
  custom: {
    50: '#8065c4',
    500: '#3b28a9',
    950: '#000000',
  },
}
SCSS
$custom: #3b28a9;
$custom-light: #8065c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3b28a9",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 248.837,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39608,
    "c": 0.19235,
    "h": 279.7
  },
  "luminance": 0.05312
}

Semantic roles & 50–950 ramp

primary
#3B28A9
secondary
#B6C469
accent
#E543CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B28A9

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

Preview Lab → · Contrast checker → · Palette generator →

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