#3B28AB#3B28AB

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

Color values

HEX#3B28AB
RGBrgb(59, 40, 171)
HSLhsl(249, 62%, 41%)
HSVhsv(249, 77%, 67%)
CMYKcmyk(65.5%, 76.6%, 0%, 32.9%)
CIE-LABlab(27.81, 46.50, -66.55)
CIE-LCHlch(27.81, 81.19, 304.95°)
OKLaboklab(39.82% 0.0318 -0.1921)
OKLCHoklch(39.82% 0.195 279.4)
XYZxyz(9.9108, 5.3869, 39.0377)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B28AB #98AB28
analogous
#2857AB #3B28AB #7D28AB
triadic
#3B28AB #AB3B28 #28AB3B
tetradic
#3B28AB #AB2857 #98AB28 #28AB7D
square
#3B28AB #AB2857 #98AB28 #28AB7D
split-complementary
#3B28AB #AB7D28 #57AB28
monochromatic
#191148 #2A1C79 #3B28AB #543ED2 #8070DE

Accessibility & contrast

On white

10.11
#3B28AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B28AB
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B28AB#FFFFFF#000000##FFFFFF
##3B28AB1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003CA9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3b28ab;
/* rgb */ color: rgb(59, 40, 171);
/* oklch */ color: oklch(39.8% 0.195 279.4);
Tailwind
colors: {
  custom: {
    50: '#8065c5',
    500: '#3b28ab',
    950: '#000000',
  },
}
SCSS
$custom: #3b28ab;
$custom-light: #8065c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b28ab",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 248.702,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39815,
    "c": 0.19474,
    "h": 279.4
  },
  "luminance": 0.05388
}

Semantic roles & 50–950 ramp

primary
#3B28AB
secondary
#B7C46A
accent
#E543CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B28AB

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

Preview Lab → · Contrast checker → · Palette generator →

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