#3728A4#3728A4

#3728A4 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.187 H 278.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#3728A4
RGBrgb(55, 40, 164)
HSLhsl(247, 61%, 40%)
HSVhsv(247, 76%, 64%)
CMYKcmyk(66.5%, 75.6%, 0%, 35.7%)
CIE-LABlab(26.76, 43.86, -64.06)
CIE-LCHlch(26.76, 77.64, 304.40°)
OKLaboklab(38.78% 0.0278 -0.185)
OKLCHoklch(38.78% 0.187 278.6)
XYZxyz(9.0330, 5.0094, 35.6056)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3728A4 #95A428
analogous
#2857A4 #3728A4 #7528A4
triadic
#3728A4 #A43728 #28A437
tetradic
#3728A4 #A42857 #95A428 #28A475
square
#3728A4 #A42857 #95A428 #28A475
split-complementary
#3728A4 #A47528 #57A428
monochromatic
#161042 #271C73 #3728A4 #4C3ACF #796BDB

Accessibility & contrast

On white

10.49
#3728A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3728A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3728A4
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3728A4#FFFFFF#000000##FFFFFF
##3728A41.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3728a4;
/* rgb */ color: rgb(55, 40, 164);
/* oklch */ color: oklch(38.8% 0.187 278.6);
Tailwind
colors: {
  custom: {
    50: '#7d64c0',
    500: '#3728a4',
    950: '#000000',
  },
}
SCSS
$custom: #3728a4;
$custom-light: #7d64c0;
$custom-dark: #000000;
JSON
{
  "hex": "#3728a4",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 164
  },
  "hsl": {
    "h": 247.258,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.38778,
    "c": 0.18708,
    "h": 278.6
  },
  "luminance": 0.0501
}

Semantic roles & 50–950 ramp

primary
#3728A4
secondary
#B6C166
accent
#E444D1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3728A4

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

Preview Lab → · Contrast checker → · Palette generator →

#3728A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva