#3628B8#3628B8

#3628B8 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.211 H 275.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#3628B8
RGBrgb(54, 40, 184)
HSLhsl(246, 64%, 44%)
HSVhsv(246, 78%, 72%)
CMYKcmyk(70.7%, 78.3%, 0%, 27.8%)
CIE-LABlab(28.80, 50.02, -72.69)
CIE-LCHlch(28.80, 88.24, 304.53°)
OKLaboklab(40.82% 0.0217 -0.2101)
OKLCHoklch(40.82% 0.211 275.9)
XYZxyz(10.9290, 5.7615, 45.8742)
Luminance0.0576 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3628B8 #AAB828
analogous
#2862B8 #3628B8 #7E28B8
triadic
#3628B8 #B83628 #28B836
tetradic
#3628B8 #B82862 #AAB828 #28B87E
square
#3628B8 #B82862 #AAB828 #28B87E
split-complementary
#3628B8 #B87E28 #62B828
monochromatic
#181253 #271D86 #3628B8 #5446D7 #8379E2

Accessibility & contrast

On white

9.76
#3628B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3628B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3628B8
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3628B8#FFFFFF#000000##FFFFFF
##3628B81.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABC
Deuteranopia (green-blind)
#003DB5
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3628b8;
/* rgb */ color: rgb(54, 40, 184);
/* oklch */ color: oklch(40.8% 0.211 275.9);
Tailwind
colors: {
  custom: {
    50: '#8166cf',
    500: '#3628b8',
    950: '#000000',
  },
}
SCSS
$custom: #3628b8;
$custom-light: #8166cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3628b8",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 184
  },
  "hsl": {
    "h": 245.833,
    "s": 64.286,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40821,
    "c": 0.21125,
    "h": 275.9
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3628B8

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

Preview Lab → · Contrast checker → · Palette generator →

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