#3628BA#3628BA

#3628BA is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.0% C 0.214 H 275.7°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#3628BA
RGBrgb(54, 40, 186)
HSLhsl(246, 65%, 44%)
HSVhsv(246, 78%, 73%)
CMYKcmyk(71%, 78.5%, 0%, 27.1%)
CIE-LABlab(29.02, 50.64, -73.51)
CIE-LCHlch(29.02, 89.27, 304.56°)
OKLaboklab(41.04% 0.0212 -0.2125)
OKLCHoklch(41.04% 0.214 275.7)
XYZxyz(11.1401, 5.8460, 46.9861)
Luminance0.0585 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3628BA #ACBA28
analogous
#2863BA #3628BA #7F28BA
triadic
#3628BA #BA3628 #28BA36
tetradic
#3628BA #BA2863 #ACBA28 #28BA7F
square
#3628BA #BA2863 #ACBA28 #28BA7F
split-complementary
#3628BA #BA7F28 #63BA28
monochromatic
#191255 #271D88 #3628BA #5548D8 #847AE2

Accessibility & contrast

On white

9.68
#3628BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#3628BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3628BA
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3628BA#FFFFFF#000000##FFFFFF
##3628BA1.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#003EB7
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3628ba;
/* rgb */ color: rgb(54, 40, 186);
/* oklch */ color: oklch(41.0% 0.214 275.7);
Tailwind
colors: {
  custom: {
    50: '#8166d0',
    500: '#3628ba',
    950: '#000000',
  },
}
SCSS
$custom: #3628ba;
$custom-light: #8166d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3628ba",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 245.753,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41037,
    "c": 0.21359,
    "h": 275.7
  },
  "luminance": 0.05847
}

Semantic roles & 50–950 ramp

primary
#3628BA
secondary
#C2CA73
accent
#E840D8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3628BA

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

Preview Lab → · Contrast checker → · Palette generator →

#3628BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva