#3628B7#3628B7

#3628B7 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.7% C 0.210 H 276.0°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#3628B7
RGBrgb(54, 40, 183)
HSLhsl(246, 64%, 44%)
HSVhsv(246, 78%, 72%)
CMYKcmyk(70.5%, 78.1%, 0%, 28.2%)
CIE-LABlab(28.69, 49.71, -72.27)
CIE-LCHlch(28.69, 87.72, 304.52°)
OKLaboklab(40.71% 0.0219 -0.2089)
OKLCHoklch(40.71% 0.21 276)
XYZxyz(10.8246, 5.7197, 45.3241)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3628B7 #A9B728
analogous
#2861B7 #3628B7 #7D28B7
triadic
#3628B7 #B73628 #28B736
tetradic
#3628B7 #B72861 #A9B728 #28B77D
square
#3628B7 #B72861 #A9B728 #28B77D
split-complementary
#3628B7 #B77D28 #61B728
monochromatic
#181253 #271D85 #3628B7 #5446D6 #8278E1

Accessibility & contrast

On white

9.79
#3628B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3628B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3628B7#FFFFFF#000000##FFFFFF
##3628B71.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABB
Deuteranopia (green-blind)
#003DB5
Tritanopia (blue-blind)
#00536F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3628b7;
/* rgb */ color: rgb(54, 40, 183);
/* oklch */ color: oklch(40.7% 0.210 276.0);
Tailwind
colors: {
  custom: {
    50: '#8165ce',
    500: '#3628b7',
    950: '#000000',
  },
}
SCSS
$custom: #3628b7;
$custom-light: #8165ce;
$custom-dark: #000000;
JSON
{
  "hex": "#3628b7",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 183
  },
  "hsl": {
    "h": 245.874,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.40713,
    "c": 0.21007,
    "h": 276
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#3628B7
secondary
#C1C972
accent
#E741D7
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3628B7

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

Preview Lab → · Contrast checker → · Palette generator →

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