#3626A7#3626A7

#3626A7 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.193 H 278.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#3626A7
RGBrgb(54, 38, 167)
HSLhsl(247, 63%, 40%)
HSVhsv(247, 77%, 65%)
CMYKcmyk(67.7%, 77.2%, 0%, 34.5%)
CIE-LABlab(26.62, 45.76, -66.11)
CIE-LCHlch(26.62, 80.41, 304.69°)
OKLaboklab(38.75% 0.0269 -0.191)
OKLCHoklch(38.75% 0.193 278)
XYZxyz(9.1872, 4.9597, 37.0249)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3626A7 #97A726
analogous
#2656A7 #3626A7 #7726A7
triadic
#3626A7 #A73626 #26A736
tetradic
#3626A7 #A72656 #97A726 #26A777
square
#3626A7 #A72656 #97A726 #26A777
split-complementary
#3626A7 #A77726 #56A726
monochromatic
#160F43 #261B75 #3626A7 #4B38D2 #786ADD

Accessibility & contrast

On white

10.54
#3626A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#3626A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3626A7
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3626A7#FFFFFF#000000##FFFFFF
##3626A71.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AB
Deuteranopia (green-blind)
#003AA5
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3626a7;
/* rgb */ color: rgb(54, 38, 167);
/* oklch */ color: oklch(38.8% 0.193 278.0);
Tailwind
colors: {
  custom: {
    50: '#7d63c2',
    500: '#3626a7',
    950: '#000000',
  },
}
SCSS
$custom: #3626a7;
$custom-light: #7d63c2;
$custom-dark: #000000;
JSON
{
  "hex": "#3626a7",
  "rgb": {
    "r": 54,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 247.442,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38752,
    "c": 0.19287,
    "h": 278
  },
  "luminance": 0.04961
}

Semantic roles & 50–950 ramp

primary
#3626A7
secondary
#B8C365
accent
#E642D2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #3626A7

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

Preview Lab → · Contrast checker → · Palette generator →

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