#3B28AD#3B28AD

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

Color values

HEX#3B28AD
RGBrgb(59, 40, 173)
HSLhsl(249, 62%, 42%)
HSVhsv(249, 77%, 68%)
CMYKcmyk(65.9%, 76.9%, 0%, 32.2%)
CIE-LABlab(28.02, 47.12, -67.41)
CIE-LCHlch(28.02, 82.24, 304.96°)
OKLaboklab(40.02% 0.0313 -0.1946)
OKLCHoklch(40.02% 0.197 279.1)
XYZxyz(10.1028, 5.4637, 40.0493)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B28AD #9AAD28
analogous
#2858AD #3B28AD #7D28AD
triadic
#3B28AD #AD3B28 #28AD3B
tetradic
#3B28AD #AD2858 #9AAD28 #28AD7D
square
#3B28AD #AD2858 #9AAD28 #28AD7D
split-complementary
#3B28AD #AD7D28 #58AD28
monochromatic
#19114A #2A1D7B #3B28AD #553FD3 #8171DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B28AD#FFFFFF#000000##FFFFFF
##3B28AD1.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)
#0047B1
Deuteranopia (green-blind)
#003DAB
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3b28ad;
/* rgb */ color: rgb(59, 40, 173);
/* oklch */ color: oklch(40.0% 0.197 279.1);
Tailwind
colors: {
  custom: {
    50: '#8165c7',
    500: '#3b28ad',
    950: '#000000',
  },
}
SCSS
$custom: #3b28ad;
$custom-light: #8165c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b28ad",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 248.571,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40022,
    "c": 0.19714,
    "h": 279.1
  },
  "luminance": 0.05465
}

Semantic roles & 50–950 ramp

primary
#3B28AD
secondary
#B8C56C
accent
#E642CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B28AD

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

Preview Lab → · Contrast checker → · Palette generator →

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