#3D28B6#3D28B6

#3D28B6 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.1% C 0.207 H 278.8°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#3D28B6
RGBrgb(61, 40, 182)
HSLhsl(249, 64%, 44%)
HSVhsv(249, 78%, 71%)
CMYKcmyk(66.5%, 78%, 0%, 28.6%)
CIE-LABlab(29.12, 50.08, -70.95)
CIE-LCHlch(29.12, 86.84, 305.21°)
OKLaboklab(41.12% 0.0318 -0.2049)
OKLCHoklch(41.12% 0.207 278.8)
XYZxyz(11.1240, 5.8862, 44.7968)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D28B6 #A1B628
analogous
#285AB6 #3D28B6 #8428B6
triadic
#3D28B6 #B63D28 #28B63D
tetradic
#3D28B6 #B6285A #A1B628 #28B684
square
#3D28B6 #B6285A #A1B628 #28B684
split-complementary
#3D28B6 #B68428 #5AB628
monochromatic
#1B1252 #2C1D84 #3D28B6 #5B45D6 #8777E1

Accessibility & contrast

On white

9.64
#3D28B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#3D28B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D28B6
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D28B6#FFFFFF#000000##FFFFFF
##3D28B61.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABA
Deuteranopia (green-blind)
#003FB3
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3d28b6;
/* rgb */ color: rgb(61, 40, 182);
/* oklch */ color: oklch(41.1% 0.207 278.8);
Tailwind
colors: {
  custom: {
    50: '#8366cd',
    500: '#3d28b6',
    950: '#000000',
  },
}
SCSS
$custom: #3d28b6;
$custom-light: #8366cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3d28b6",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 248.873,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41118,
    "c": 0.20736,
    "h": 278.8
  },
  "luminance": 0.05887
}

Semantic roles & 50–950 ramp

primary
#3D28B6
secondary
#BCC971
accent
#E741CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3D28B6

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

Preview Lab → · Contrast checker → · Palette generator →

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