#3628C6#3628C6

#3628C6 is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.3% C 0.227 H 274.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#3628C6
RGBrgb(54, 40, 198)
HSLhsl(245, 66%, 47%)
HSVhsv(245, 80%, 78%)
CMYKcmyk(72.7%, 79.8%, 0%, 22.4%)
CIE-LABlab(30.35, 54.30, -78.39)
CIE-LCHlch(30.35, 95.36, 304.71°)
OKLaboklab(42.35% 0.0182 -0.2267)
OKLCHoklch(42.35% 0.227 274.6)
XYZxyz(12.4698, 6.3778, 53.9890)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3628C6 #B8C628
analogous
#2869C6 #3628C6 #8528C6
triadic
#3628C6 #C63628 #28C636
tetradic
#3628C6 #C62869 #B8C628 #28C685
square
#3628C6 #C62869 #B8C628 #28C685
split-complementary
#3628C6 #C68528 #69C628
monochromatic
#1A1360 #281E93 #3628C6 #5C50DC #8B83E6

Accessibility & contrast

On white

9.23
#3628C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#3628C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3628C6#FFFFFF#000000##FFFFFF
##3628C61.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ECA
Deuteranopia (green-blind)
#0040C3
Tritanopia (blue-blind)
#005978
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3628c6;
/* rgb */ color: rgb(54, 40, 198);
/* oklch */ color: oklch(42.3% 0.227 274.6);
Tailwind
colors: {
  custom: {
    50: '#8466d9',
    500: '#3628c6',
    950: '#000000',
  },
}
SCSS
$custom: #3628c6;
$custom-light: #8466d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3628c6",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 198
  },
  "hsl": {
    "h": 245.316,
    "s": 66.387,
    "l": 46.667
  },
  "oklch": {
    "l": 0.42349,
    "c": 0.22744,
    "h": 274.6
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#3628C6
secondary
#C7CF7B
accent
#E93EDA
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3628C6

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

Preview Lab → · Contrast checker → · Palette generator →

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