#3628AE#3628AE

#3628AE is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.8% C 0.199 H 276.9°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#3628AE
RGBrgb(54, 40, 174)
HSLhsl(246, 63%, 42%)
HSVhsv(246, 77%, 68%)
CMYKcmyk(69%, 77%, 0%, 31.8%)
CIE-LABlab(27.73, 46.91, -68.50)
CIE-LCHlch(27.73, 83.02, 304.40°)
OKLaboklab(39.75% 0.0241 -0.1979)
OKLCHoklch(39.75% 0.199 276.9)
XYZxyz(9.9176, 5.3570, 40.5475)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3628AE #A0AE28
analogous
#285DAE #3628AE #7928AE
triadic
#3628AE #AE3628 #28AE36
tetradic
#3628AE #AE285D #A0AE28 #28AE79
square
#3628AE #AE285D #A0AE28 #28AE79
split-complementary
#3628AE #AE7928 #5DAE28
monochromatic
#17114A #271D7C #3628AE #4F40D3 #7D72DF

Accessibility & contrast

On white

10.14
#3628AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3628AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3628AE#FFFFFF#000000##FFFFFF
##3628AE1.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003CAC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3628ae;
/* rgb */ color: rgb(54, 40, 174);
/* oklch */ color: oklch(39.8% 0.199 276.9);
Tailwind
colors: {
  custom: {
    50: '#7f65c7',
    500: '#3628ae',
    950: '#000000',
  },
}
SCSS
$custom: #3628ae;
$custom-light: #7f65c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3628ae",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 246.269,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39751,
    "c": 0.19941,
    "h": 276.9
  },
  "luminance": 0.05358
}

Semantic roles & 50–950 ramp

primary
#3628AE
secondary
#BCC66C
accent
#E642D5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3628AE

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

Preview Lab → · Contrast checker → · Palette generator →

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