#3B28AE#3B28AE

#3B28AE is a dark, vivid blue. Relative luminance 0.055; OKLCH L 40.1% C 0.198 H 279.0°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#3B28AE
RGBrgb(59, 40, 174)
HSLhsl(249, 63%, 42%)
HSVhsv(249, 77%, 68%)
CMYKcmyk(66.1%, 77%, 0%, 31.8%)
CIE-LABlab(28.12, 47.43, -67.84)
CIE-LCHlch(28.12, 82.77, 304.96°)
OKLaboklab(40.13% 0.031 -0.1959)
OKLCHoklch(40.13% 0.198 279)
XYZxyz(10.2000, 5.5025, 40.5608)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B28AE #9BAE28
analogous
#2858AE #3B28AE #7E28AE
triadic
#3B28AE #AE3B28 #28AE3B
tetradic
#3B28AE #AE2858 #9BAE28 #28AE7E
square
#3B28AE #AE2858 #9BAE28 #28AE7E
split-complementary
#3B28AE #AE7E28 #58AE28
monochromatic
#19114A #2A1D7C #3B28AE #5540D3 #8172DF

Accessibility & contrast

On white

10.00
#3B28AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#3B28AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B28AE
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B28AE#FFFFFF#000000##FFFFFF
##3B28AE1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.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: #3b28ae;
/* rgb */ color: rgb(59, 40, 174);
/* oklch */ color: oklch(40.1% 0.198 279.0);
Tailwind
colors: {
  custom: {
    50: '#8165c7',
    500: '#3b28ae',
    950: '#000000',
  },
}
SCSS
$custom: #3b28ae;
$custom-light: #8165c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b28ae",
  "rgb": {
    "r": 59,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 248.507,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40126,
    "c": 0.19833,
    "h": 279
  },
  "luminance": 0.05503
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3B28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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