#3D27BA#3D27BA

#3D27BA is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.4% C 0.213 H 278.4°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#3D27BA
RGBrgb(61, 39, 186)
HSLhsl(249, 65%, 44%)
HSVhsv(249, 79%, 73%)
CMYKcmyk(67.2%, 79%, 0%, 27.1%)
CIE-LABlab(29.38, 51.77, -72.90)
CIE-LCHlch(29.38, 89.41, 305.38°)
OKLaboklab(41.42% 0.0312 -0.2106)
OKLCHoklch(41.42% 0.213 278.4)
XYZxyz(11.5101, 5.9873, 46.9940)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D27BA #A4BA27
analogous
#275ABA #3D27BA #8727BA
triadic
#3D27BA #BA3D27 #27BA3D
tetradic
#3D27BA #BA275A #A4BA27 #27BA87
square
#3D27BA #BA275A #A4BA27 #27BA87
split-complementary
#3D27BA #BA8727 #5ABA27
monochromatic
#1C1255 #2C1C87 #3D27BA #5C46D8 #8879E3

Accessibility & contrast

On white

9.56
#3D27BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3D27BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D27BA
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D27BA#FFFFFF#000000##FFFFFF
##3D27BA1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3d27ba;
/* rgb */ color: rgb(61, 39, 186);
/* oklch */ color: oklch(41.4% 0.213 278.4);
Tailwind
colors: {
  custom: {
    50: '#8466d0',
    500: '#3d27ba',
    950: '#000000',
  },
}
SCSS
$custom: #3d27ba;
$custom-light: #8466d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3d27ba",
  "rgb": {
    "r": 61,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 248.98,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41424,
    "c": 0.21288,
    "h": 278.4
  },
  "luminance": 0.05988
}

Semantic roles & 50–950 ramp

primary
#3D27BA
secondary
#BDCB72
accent
#E840CF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3D27BA

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

Preview Lab → · Contrast checker → · Palette generator →

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