#3D27B7#3D27B7

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

Color values

HEX#3D27B7
RGBrgb(61, 39, 183)
HSLhsl(249, 65%, 44%)
HSVhsv(249, 79%, 72%)
CMYKcmyk(66.7%, 78.7%, 0%, 28.2%)
CIE-LABlab(29.06, 50.87, -71.65)
CIE-LCHlch(29.06, 87.87, 305.37°)
OKLaboklab(41.11% 0.032 -0.2069)
OKLCHoklch(41.11% 0.209 278.8)
XYZxyz(11.1945, 5.8611, 45.3319)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D27B7 #A1B727
analogous
#2759B7 #3D27B7 #8527B7
triadic
#3D27B7 #B73D27 #27B73D
tetradic
#3D27B7 #B72759 #A1B727 #27B785
square
#3D27B7 #B72759 #A1B727 #27B785
split-complementary
#3D27B7 #B78527 #59B727
monochromatic
#1B1152 #2C1C85 #3D27B7 #5B44D7 #8776E2

Accessibility & contrast

On white

9.67
#3D27B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3D27B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D27B7
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D27B7#FFFFFF#000000##FFFFFF
##3D27B71.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d27b7;
/* rgb */ color: rgb(61, 39, 183);
/* oklch */ color: oklch(41.1% 0.209 278.8);
Tailwind
colors: {
  custom: {
    50: '#8465ce',
    500: '#3d27b7',
    950: '#000000',
  },
}
SCSS
$custom: #3d27b7;
$custom-light: #8465ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3d27b7",
  "rgb": {
    "r": 61,
    "g": 39,
    "b": 183
  },
  "hsl": {
    "h": 249.167,
    "s": 64.865,
    "l": 43.529
  },
  "oklch": {
    "l": 0.41105,
    "c": 0.20941,
    "h": 278.8
  },
  "luminance": 0.05862
}

Semantic roles & 50–950 ramp

primary
#3D27B7
secondary
#BCC970
accent
#E840CE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3D27B7

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

Preview Lab → · Contrast checker → · Palette generator →

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