#3628A3#3628A3

#3628A3 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.6% C 0.186 H 278.2°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#3628A3
RGBrgb(54, 40, 163)
HSLhsl(247, 61%, 40%)
HSVhsv(247, 75%, 64%)
CMYKcmyk(66.9%, 75.5%, 0%, 36.1%)
CIE-LABlab(26.58, 43.43, -63.76)
CIE-LCHlch(26.58, 77.14, 304.26°)
OKLaboklab(38.6% 0.0267 -0.1841)
OKLCHoklch(38.6% 0.186 278.2)
XYZxyz(8.8888, 4.9454, 35.1294)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3628A3 #95A328
analogous
#2858A3 #3628A3 #7328A3
triadic
#3628A3 #A33628 #28A336
tetradic
#3628A3 #A32858 #95A328 #28A373
square
#3628A3 #A32858 #95A328 #28A373
split-complementary
#3628A3 #A37328 #58A328
monochromatic
#151041 #261C72 #3628A3 #4B3ACF #786BDB

Accessibility & contrast

On white

10.56
#3628A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3628A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3628A3
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3628A3#FFFFFF#000000##FFFFFF
##3628A31.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#003AA1
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3628a3;
/* rgb */ color: rgb(54, 40, 163);
/* oklch */ color: oklch(38.6% 0.186 278.2);
Tailwind
colors: {
  custom: {
    50: '#7c64bf',
    500: '#3628a3',
    950: '#000000',
  },
}
SCSS
$custom: #3628a3;
$custom-light: #7c64bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3628a3",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 246.829,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38598,
    "c": 0.18607,
    "h": 278.2
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#3628A3
secondary
#B7C166
accent
#E444D2
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3628A3

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

Preview Lab → · Contrast checker → · Palette generator →

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