#3628AB#3628AB

#3628AB is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.4% C 0.196 H 277.3°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#3628AB
RGBrgb(54, 40, 171)
HSLhsl(246, 62%, 41%)
HSVhsv(246, 77%, 67%)
CMYKcmyk(68.4%, 76.6%, 0%, 32.9%)
CIE-LABlab(27.41, 45.96, -67.22)
CIE-LCHlch(27.41, 81.43, 304.36°)
OKLaboklab(39.43% 0.0248 -0.1942)
OKLCHoklch(39.43% 0.196 277.3)
XYZxyz(9.6284, 5.2413, 39.0244)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3628AB #9DAB28
analogous
#285CAB #3628AB #7828AB
triadic
#3628AB #AB3628 #28AB36
tetradic
#3628AB #AB285C #9DAB28 #28AB78
square
#3628AB #AB285C #9DAB28 #28AB78
split-complementary
#3628AB #AB7828 #5CAB28
monochromatic
#171148 #261C79 #3628AB #4E3ED2 #7C70DE

Accessibility & contrast

On white

10.25
#3628AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3628AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3628AB
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3628AB#FFFFFF#000000##FFFFFF
##3628AB1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003BA9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3628ab;
/* rgb */ color: rgb(54, 40, 171);
/* oklch */ color: oklch(39.4% 0.196 277.3);
Tailwind
colors: {
  custom: {
    50: '#7e65c5',
    500: '#3628ab',
    950: '#000000',
  },
}
SCSS
$custom: #3628ab;
$custom-light: #7e65c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3628ab",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 246.412,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39434,
    "c": 0.1958,
    "h": 277.3
  },
  "luminance": 0.05242
}

Semantic roles & 50–950 ramp

primary
#3628AB
secondary
#BBC46A
accent
#E543D4
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3628AB

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

Preview Lab → · Contrast checker → · Palette generator →

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