#3628B5#3628B5

#3628B5 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.5% C 0.208 H 276.2°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#3628B5
RGBrgb(54, 40, 181)
HSLhsl(246, 64%, 43%)
HSVhsv(246, 78%, 71%)
CMYKcmyk(70.2%, 77.9%, 0%, 29%)
CIE-LABlab(28.48, 49.09, -71.44)
CIE-LCHlch(28.48, 86.68, 304.50°)
OKLaboklab(40.5% 0.0224 -0.2065)
OKLCHoklch(40.5% 0.208 276.2)
XYZxyz(10.6179, 5.6371, 44.2356)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3628B5 #A7B528
analogous
#2861B5 #3628B5 #7C28B5
triadic
#3628B5 #B53628 #28B536
tetradic
#3628B5 #B52861 #A7B528 #28B57C
square
#3628B5 #B52861 #A7B528 #28B57C
split-complementary
#3628B5 #B57C28 #61B528
monochromatic
#181251 #271D83 #3628B5 #5344D6 #8177E1

Accessibility & contrast

On white

9.87
#3628B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3628B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3628B5
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3628B5#FFFFFF#000000##FFFFFF
##3628B51.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B9
Deuteranopia (green-blind)
#003DB3
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3628b5;
/* rgb */ color: rgb(54, 40, 181);
/* oklch */ color: oklch(40.5% 0.208 276.2);
Tailwind
colors: {
  custom: {
    50: '#8065cd',
    500: '#3628b5',
    950: '#000000',
  },
}
SCSS
$custom: #3628b5;
$custom-light: #8065cd;
$custom-dark: #000000;
JSON
{
  "hex": "#3628b5",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 245.957,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.40497,
    "c": 0.20772,
    "h": 276.2
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#3628B5
secondary
#C0C870
accent
#E741D6
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82

Preview Lab

Preview with #3628B5

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

Preview Lab → · Contrast checker → · Palette generator →

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