#3D28B7#3D28B7

#3D28B7 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.2% C 0.209 H 278.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#3D28B7
RGBrgb(61, 40, 183)
HSLhsl(249, 64%, 44%)
HSVhsv(249, 78%, 72%)
CMYKcmyk(66.7%, 78.1%, 0%, 28.2%)
CIE-LABlab(29.23, 50.38, -71.37)
CIE-LCHlch(29.23, 87.36, 305.22°)
OKLaboklab(41.22% 0.0315 -0.2061)
OKLCHoklch(41.22% 0.209 278.7)
XYZxyz(11.2278, 5.9276, 45.3430)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D28B7 #A2B728
analogous
#285AB7 #3D28B7 #8428B7
triadic
#3D28B7 #B73D28 #28B73D
tetradic
#3D28B7 #B7285A #A2B728 #28B784
square
#3D28B7 #B7285A #A2B728 #28B784
split-complementary
#3D28B7 #B78428 #5AB728
monochromatic
#1C1253 #2C1D85 #3D28B7 #5B46D6 #8778E1

Accessibility & contrast

On white

9.61
#3D28B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3D28B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D28B7
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D28B7#FFFFFF#000000##FFFFFF
##3D28B71.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABB
Deuteranopia (green-blind)
#003FB4
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3d28b7;
/* rgb */ color: rgb(61, 40, 183);
/* oklch */ color: oklch(41.2% 0.209 278.7);
Tailwind
colors: {
  custom: {
    50: '#8466ce',
    500: '#3d28b7',
    950: '#000000',
  },
}
SCSS
$custom: #3d28b7;
$custom-light: #8466ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3d28b7",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 248.811,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41223,
    "c": 0.20853,
    "h": 278.7
  },
  "luminance": 0.05929
}

Semantic roles & 50–950 ramp

primary
#3D28B7
secondary
#BCC972
accent
#E741CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3D28B7

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

Preview Lab → · Contrast checker → · Palette generator →

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