#3728A7#3728A7

#3728A7 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.1% C 0.191 H 278.2°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#3728A7
RGBrgb(55, 40, 167)
HSLhsl(247, 61%, 41%)
HSVhsv(247, 76%, 65%)
CMYKcmyk(67.1%, 76%, 0%, 34.5%)
CIE-LABlab(27.07, 44.81, -65.37)
CIE-LCHlch(27.07, 79.25, 304.43°)
OKLaboklab(39.09% 0.0271 -0.1888)
OKLCHoklch(39.09% 0.191 278.2)
XYZxyz(9.3071, 5.1190, 37.0493)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3728A7 #98A728
analogous
#2858A7 #3728A7 #7728A7
triadic
#3728A7 #A73728 #28A737
tetradic
#3728A7 #A72858 #98A728 #28A777
square
#3728A7 #A72858 #98A728 #28A777
split-complementary
#3728A7 #A77728 #58A728
monochromatic
#161044 #271C76 #3728A7 #4D3CD0 #7A6DDC

Accessibility & contrast

On white

10.38
#3728A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3728A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3728A7
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3728A7#FFFFFF#000000##FFFFFF
##3728A71.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3728a7;
/* rgb */ color: rgb(55, 40, 167);
/* oklch */ color: oklch(39.1% 0.191 278.2);
Tailwind
colors: {
  custom: {
    50: '#7e65c2',
    500: '#3728a7',
    950: '#000000',
  },
}
SCSS
$custom: #3728a7;
$custom-light: #7e65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3728a7",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 247.087,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39089,
    "c": 0.19074,
    "h": 278.2
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#3728A7
secondary
#B8C368
accent
#E443D1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3728A7

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

Preview Lab → · Contrast checker → · Palette generator →

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