#3628AA#3628AA

#3628AA is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.3% C 0.195 H 277.4°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#3628AA
RGBrgb(54, 40, 170)
HSLhsl(246, 62%, 41%)
HSVhsv(246, 76%, 67%)
CMYKcmyk(68.2%, 76.5%, 0%, 33.3%)
CIE-LABlab(27.31, 45.65, -66.79)
CIE-LCHlch(27.31, 80.90, 304.35°)
OKLaboklab(39.33% 0.0251 -0.193)
OKLCHoklch(39.33% 0.195 277.4)
XYZxyz(9.5335, 5.2033, 38.5243)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3628AA #9CAA28
analogous
#285BAA #3628AA #7728AA
triadic
#3628AA #AA3628 #28AA36
tetradic
#3628AA #AA285B #9CAA28 #28AA77
square
#3628AA #AA285B #9CAA28 #28AA77
split-complementary
#3628AA #AA7728 #5BAA28
monochromatic
#171147 #261C78 #3628AA #4E3ED2 #7B6FDD

Accessibility & contrast

On white

10.29
#3628AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3628AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3628AA#FFFFFF#000000##FFFFFF
##3628AA1.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AE
Deuteranopia (green-blind)
#003BA8
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3628aa;
/* rgb */ color: rgb(54, 40, 170);
/* oklch */ color: oklch(39.3% 0.195 277.4);
Tailwind
colors: {
  custom: {
    50: '#7e65c5',
    500: '#3628aa',
    950: '#000000',
  },
}
SCSS
$custom: #3628aa;
$custom-light: #7e65c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3628aa",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 246.462,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39328,
    "c": 0.1946,
    "h": 277.4
  },
  "luminance": 0.05204
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3628AA

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

Preview Lab → · Contrast checker → · Palette generator →

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