#3626AB#3626AB

#3626AB is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.2% C 0.198 H 277.5°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#3626AB
RGBrgb(54, 38, 171)
HSLhsl(247, 64%, 41%)
HSVhsv(247, 78%, 67%)
CMYKcmyk(68.4%, 77.8%, 0%, 32.9%)
CIE-LABlab(27.05, 47.01, -67.82)
CIE-LCHlch(27.05, 82.52, 304.73°)
OKLaboklab(39.18% 0.0259 -0.196)
OKLCHoklch(39.18% 0.198 277.5)
XYZxyz(9.5627, 5.1099, 39.0025)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3626AB #9BAB26
analogous
#2658AB #3626AB #7826AB
triadic
#3626AB #AB3626 #26AB36
tetradic
#3626AB #AB2658 #9BAB26 #26AB78
square
#3626AB #AB2658 #9BAB26 #26AB78
split-complementary
#3626AB #AB7826 #58AB26
monochromatic
#161047 #261B79 #3626AB #4D3BD3 #7B6DDF

Accessibility & contrast

On white

10.38
#3626AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3626AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3626AB
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3626AB#FFFFFF#000000##FFFFFF
##3626AB1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AF
Deuteranopia (green-blind)
#003AA9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3626ab;
/* rgb */ color: rgb(54, 38, 171);
/* oklch */ color: oklch(39.2% 0.198 277.5);
Tailwind
colors: {
  custom: {
    50: '#7e64c5',
    500: '#3626ab',
    950: '#000000',
  },
}
SCSS
$custom: #3626ab;
$custom-light: #7e64c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3626ab",
  "rgb": {
    "r": 54,
    "g": 38,
    "b": 171
  },
  "hsl": {
    "h": 247.218,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.39177,
    "c": 0.19766,
    "h": 277.5
  },
  "luminance": 0.05111
}

Semantic roles & 50–950 ramp

primary
#3626AB
secondary
#BAC568
accent
#E741D3
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3626AB

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

Preview Lab → · Contrast checker → · Palette generator →

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