#3727A2#3727A2

#3727A2 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.186 H 279.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#3727A2
RGBrgb(55, 39, 162)
HSLhsl(248, 61%, 39%)
HSVhsv(248, 76%, 64%)
CMYKcmyk(66%, 75.9%, 0%, 36.5%)
CIE-LABlab(26.36, 43.77, -63.50)
CIE-LCHlch(26.36, 77.13, 304.57°)
OKLaboklab(38.44% 0.0289 -0.1834)
OKLCHoklch(38.44% 0.186 279)
XYZxyz(8.8206, 4.8712, 34.6508)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3727A2 #92A227
analogous
#2755A2 #3727A2 #7527A2
triadic
#3727A2 #A23727 #27A237
tetradic
#3727A2 #A22755 #92A227 #27A275
square
#3727A2 #A22755 #92A227 #27A275
split-complementary
#3727A2 #A27527 #55A227
monochromatic
#160F3F #261B71 #3727A2 #4B37CF #7769DB

Accessibility & contrast

On white

10.64
#3727A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3727A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3727A2
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3727A2#FFFFFF#000000##FFFFFF
##3727A21.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3727a2;
/* rgb */ color: rgb(55, 39, 162);
/* oklch */ color: oklch(38.4% 0.186 279.0);
Tailwind
colors: {
  custom: {
    50: '#7d64bf',
    500: '#3727a2',
    950: '#000000',
  },
}
SCSS
$custom: #3727a2;
$custom-light: #7d64bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3727a2",
  "rgb": {
    "r": 55,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 247.805,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38437,
    "c": 0.18563,
    "h": 279
  },
  "luminance": 0.04872
}

Semantic roles & 50–950 ramp

primary
#3727A2
secondary
#B5C164
accent
#E443CF
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3727A2

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

Preview Lab → · Contrast checker → · Palette generator →

#3727A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva