#3628C5#3628C5

#3628C5 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 42.2% C 0.226 H 274.7°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#3628C5
RGBrgb(54, 40, 197)
HSLhsl(245, 66%, 46%)
HSVhsv(245, 80%, 77%)
CMYKcmyk(72.6%, 79.7%, 0%, 22.7%)
CIE-LABlab(30.23, 53.99, -77.99)
CIE-LCHlch(30.23, 94.86, 304.70°)
OKLaboklab(42.24% 0.0184 -0.2255)
OKLCHoklch(42.24% 0.226 274.7)
XYZxyz(12.3548, 6.3318, 53.3836)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3628C5 #B7C528
analogous
#2869C5 #3628C5 #8528C5
triadic
#3628C5 #C53628 #28C536
tetradic
#3628C5 #C52869 #B7C528 #28C585
square
#3628C5 #C52869 #B7C528 #28C585
split-complementary
#3628C5 #C58528 #69C528
monochromatic
#1A135F #281E92 #3628C5 #5B4FDB #8B82E6

Accessibility & contrast

On white

9.26
#3628C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#3628C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3628C5#FFFFFF#000000##FFFFFF
##3628C51.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC9
Deuteranopia (green-blind)
#0040C2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3628c5;
/* rgb */ color: rgb(54, 40, 197);
/* oklch */ color: oklch(42.2% 0.226 274.7);
Tailwind
colors: {
  custom: {
    50: '#8466d8',
    500: '#3628c5',
    950: '#000000',
  },
}
SCSS
$custom: #3628c5;
$custom-light: #8466d8;
$custom-dark: #000000;
JSON
{
  "hex": "#3628c5",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 197
  },
  "hsl": {
    "h": 245.35,
    "s": 66.245,
    "l": 46.471
  },
  "oklch": {
    "l": 0.42239,
    "c": 0.22629,
    "h": 274.7
  },
  "luminance": 0.06333
}

Semantic roles & 50–950 ramp

primary
#3628C5
secondary
#C7CE7A
accent
#E93FDA
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3628C5

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

Preview Lab → · Contrast checker → · Palette generator →

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