#3628A7#3628A7

#3628A7 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.191 H 277.7°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).

Color values

HEX#3628A7
RGBrgb(54, 40, 167)
HSLhsl(247, 61%, 41%)
HSVhsv(247, 76%, 65%)
CMYKcmyk(67.7%, 76%, 0%, 34.5%)
CIE-LABlab(26.99, 44.70, -65.50)
CIE-LCHlch(26.99, 79.30, 304.31°)
OKLaboklab(39.01% 0.0258 -0.1892)
OKLCHoklch(39.01% 0.191 277.7)
XYZxyz(9.2529, 5.0911, 37.0468)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3628A7 #99A728
analogous
#2859A7 #3628A7 #7528A7
triadic
#3628A7 #A73628 #28A736
tetradic
#3628A7 #A72859 #99A728 #28A775
square
#3628A7 #A72859 #99A728 #28A775
split-complementary
#3628A7 #A77528 #59A728
monochromatic
#161044 #261C76 #3628A7 #4C3CD0 #7A6DDC

Accessibility & contrast

On white

10.40
#3628A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3628A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3628A7#FFFFFF#000000##FFFFFF
##3628A71.0010.402.0210.40
#FFFFFF10.401.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3628a7;
/* rgb */ color: rgb(54, 40, 167);
/* oklch */ color: oklch(39.0% 0.191 277.7);
Tailwind
colors: {
  custom: {
    50: '#7d65c2',
    500: '#3628a7',
    950: '#000000',
  },
}
SCSS
$custom: #3628a7;
$custom-light: #7d65c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3628a7",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 246.614,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39014,
    "c": 0.19095,
    "h": 277.7
  },
  "luminance": 0.05092
}

Semantic roles & 50–950 ramp

primary
#3628A7
secondary
#B9C368
accent
#E443D3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3628A7

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

Preview Lab → · Contrast checker → · Palette generator →

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