#3D28A9#3D28A9

#3D28A9 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.192 H 280.6°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#3D28A9
RGBrgb(61, 40, 169)
HSLhsl(250, 62%, 41%)
HSVhsv(250, 76%, 66%)
CMYKcmyk(63.9%, 76.3%, 0%, 33.7%)
CIE-LABlab(27.77, 46.12, -65.40)
CIE-LCHlch(27.77, 80.02, 305.19°)
OKLaboklab(39.77% 0.0352 -0.1887)
OKLCHoklch(39.77% 0.192 280.6)
XYZxyz(9.8424, 5.3735, 38.0469)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D28A9 #94A928
analogous
#2854A9 #3D28A9 #7D28A9
triadic
#3D28A9 #A93D28 #28A93D
tetradic
#3D28A9 #A92854 #94A928 #28A97D
square
#3D28A9 #A92854 #94A928 #28A97D
split-complementary
#3D28A9 #A97D28 #54A928
monochromatic
#191146 #2B1C78 #3D28A9 #553DD1 #816FDD

Accessibility & contrast

On white

10.12
#3D28A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3D28A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D28A9
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D28A9#FFFFFF#000000##FFFFFF
##3D28A91.0010.122.0710.12
#FFFFFF10.121.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003DA7
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d28a9;
/* rgb */ color: rgb(61, 40, 169);
/* oklch */ color: oklch(39.8% 0.192 280.6);
Tailwind
colors: {
  custom: {
    50: '#8165c4',
    500: '#3d28a9',
    950: '#000000',
  },
}
SCSS
$custom: #3d28a9;
$custom-light: #8165c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d28a9",
  "rgb": {
    "r": 61,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 249.767,
    "s": 61.722,
    "l": 40.98
  },
  "oklch": {
    "l": 0.3977,
    "c": 0.19197,
    "h": 280.6
  },
  "luminance": 0.05374
}

Semantic roles & 50–950 ramp

primary
#3D28A9
secondary
#B5C469
accent
#E543CA
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D28A9

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

Preview Lab → · Contrast checker → · Palette generator →

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