#3D28AE#3D28AE

#3D28AE is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.3% C 0.198 H 279.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#3D28AE
RGBrgb(61, 40, 174)
HSLhsl(249, 63%, 42%)
HSVhsv(249, 77%, 68%)
CMYKcmyk(64.9%, 77%, 0%, 31.8%)
CIE-LABlab(28.29, 47.65, -67.56)
CIE-LCHlch(28.29, 82.67, 305.20°)
OKLaboklab(40.28% 0.0339 -0.195)
OKLCHoklch(40.28% 0.198 279.9)
XYZxyz(10.3208, 5.5649, 40.5664)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D28AE #99AE28
analogous
#2856AE #3D28AE #8028AE
triadic
#3D28AE #AE3D28 #28AE3D
tetradic
#3D28AE #AE2856 #99AE28 #28AE80
square
#3D28AE #AE2856 #99AE28 #28AE80
split-complementary
#3D28AE #AE8028 #56AE28
monochromatic
#1A114A #2C1D7C #3D28AE #5740D3 #8372DF

Accessibility & contrast

On white

9.94
#3D28AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3D28AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D28AE
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D28AE#FFFFFF#000000##FFFFFF
##3D28AE1.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d28ae;
/* rgb */ color: rgb(61, 40, 174);
/* oklch */ color: oklch(40.3% 0.198 279.9);
Tailwind
colors: {
  custom: {
    50: '#8265c7',
    500: '#3d28ae',
    950: '#000000',
  },
}
SCSS
$custom: #3d28ae;
$custom-light: #8265c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d28ae",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 249.403,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.40284,
    "c": 0.19794,
    "h": 279.9
  },
  "luminance": 0.05566
}

Semantic roles & 50–950 ramp

primary
#3D28AE
secondary
#B8C66C
accent
#E642CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D28AE

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

Preview Lab → · Contrast checker → · Palette generator →

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