#3D27AC#3D27AC

#3D27AC is a dark, vivid blue. Relative luminance 0.054; OKLCH L 40.0% C 0.197 H 280.3°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#3D27AC
RGBrgb(61, 39, 172)
HSLhsl(250, 63%, 41%)
HSVhsv(250, 77%, 67%)
CMYKcmyk(64.5%, 77.3%, 0%, 32.5%)
CIE-LABlab(27.90, 47.55, -66.99)
CIE-LCHlch(27.90, 82.15, 305.37°)
OKLaboklab(39.95% 0.035 -0.1934)
OKLCHoklch(39.95% 0.197 280.3)
XYZxyz(10.0940, 5.4209, 39.5361)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D27AC #96AC27
analogous
#2754AC #3D27AC #8027AC
triadic
#3D27AC #AC3D27 #27AC3D
tetradic
#3D27AC #AC2754 #96AC27 #27AC80
square
#3D27AC #AC2754 #96AC27 #27AC80
split-complementary
#3D27AC #AC8027 #54AC27
monochromatic
#1A1048 #2B1C7A #3D27AC #563DD3 #816FDE

Accessibility & contrast

On white

10.07
#3D27AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3D27AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D27AC
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D27AC#FFFFFF#000000##FFFFFF
##3D27AC1.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B0
Deuteranopia (green-blind)
#003DAA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3d27ac;
/* rgb */ color: rgb(61, 39, 172);
/* oklch */ color: oklch(40.0% 0.197 280.3);
Tailwind
colors: {
  custom: {
    50: '#8165c6',
    500: '#3d27ac',
    950: '#000000',
  },
}
SCSS
$custom: #3d27ac;
$custom-light: #8165c6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d27ac",
  "rgb": {
    "r": 61,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 249.925,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39952,
    "c": 0.1965,
    "h": 280.3
  },
  "luminance": 0.05422
}

Semantic roles & 50–950 ramp

primary
#3D27AC
secondary
#B6C56A
accent
#E642CB
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D27AC

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

Preview Lab → · Contrast checker → · Palette generator →

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