#3728A2#3728A2

#3728A2 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.185 H 278.8°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#3728A2
RGBrgb(55, 40, 162)
HSLhsl(247, 60%, 40%)
HSVhsv(247, 75%, 64%)
CMYKcmyk(66%, 75.3%, 0%, 36.5%)
CIE-LABlab(26.56, 43.22, -63.19)
CIE-LCHlch(26.56, 76.56, 304.37°)
OKLaboklab(38.57% 0.0283 -0.1824)
OKLCHoklch(38.57% 0.185 278.8)
XYZxyz(8.8538, 4.9377, 34.6619)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3728A2 #93A228
analogous
#2856A2 #3728A2 #7428A2
triadic
#3728A2 #A23728 #28A237
tetradic
#3728A2 #A22856 #93A228 #28A274
square
#3728A2 #A22856 #93A228 #28A274
split-complementary
#3728A2 #A27428 #56A228
monochromatic
#161040 #261C71 #3728A2 #4B39CE #786ADA

Accessibility & contrast

On white

10.57
#3728A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3728A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3728A2
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3728A2#FFFFFF#000000##FFFFFF
##3728A21.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#003AA0
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3728a2;
/* rgb */ color: rgb(55, 40, 162);
/* oklch */ color: oklch(38.6% 0.185 278.8);
Tailwind
colors: {
  custom: {
    50: '#7d64bf',
    500: '#3728a2',
    950: '#000000',
  },
}
SCSS
$custom: #3728a2;
$custom-light: #7d64bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3728a2",
  "rgb": {
    "r": 55,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 247.377,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38572,
    "c": 0.18463,
    "h": 278.8
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#3728A2
secondary
#B5C165
accent
#E444D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3728A2

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

Preview Lab → · Contrast checker → · Palette generator →

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