#3626A5#3626A5

#3626A5 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.5% C 0.190 H 278.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#3626A5
RGBrgb(54, 38, 165)
HSLhsl(248, 63%, 40%)
HSVhsv(248, 77%, 65%)
CMYKcmyk(67.3%, 77%, 0%, 35.3%)
CIE-LABlab(26.41, 45.13, -65.25)
CIE-LCHlch(26.41, 79.34, 304.67°)
OKLaboklab(38.54% 0.0274 -0.1885)
OKLCHoklch(38.54% 0.19 278.3)
XYZxyz(9.0038, 4.8863, 36.0587)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3626A5 #95A526
analogous
#2656A5 #3626A5 #7626A5
triadic
#3626A5 #A53626 #26A536
tetradic
#3626A5 #A52656 #95A526 #26A576
square
#3626A5 #A52656 #95A526 #26A576
split-complementary
#3626A5 #A57626 #56A526
monochromatic
#150F42 #261B73 #3626A5 #4B37D1 #7869DC

Accessibility & contrast

On white

10.62
#3626A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3626A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3626A5
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3626A5#FFFFFF#000000##FFFFFF
##3626A51.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#0039A3
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3626a5;
/* rgb */ color: rgb(54, 38, 165);
/* oklch */ color: oklch(38.5% 0.190 278.3);
Tailwind
colors: {
  custom: {
    50: '#7d63c1',
    500: '#3626a5',
    950: '#000000',
  },
}
SCSS
$custom: #3626a5;
$custom-light: #7d63c1;
$custom-dark: #000000;
JSON
{
  "hex": "#3626a5",
  "rgb": {
    "r": 54,
    "g": 38,
    "b": 165
  },
  "hsl": {
    "h": 247.559,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38541,
    "c": 0.19046,
    "h": 278.3
  },
  "luminance": 0.04887
}

Semantic roles & 50–950 ramp

primary
#3626A5
secondary
#B7C364
accent
#E642D1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3626A5

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

Preview Lab → · Contrast checker → · Palette generator →

#3626A5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva