#3626A8#3626A8

#3626A8 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.9% C 0.194 H 277.9°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#3626A8
RGBrgb(54, 38, 168)
HSLhsl(247, 63%, 40%)
HSVhsv(247, 77%, 66%)
CMYKcmyk(67.9%, 77.4%, 0%, 34.1%)
CIE-LABlab(26.73, 46.07, -66.54)
CIE-LCHlch(26.73, 80.94, 304.70°)
OKLaboklab(38.86% 0.0266 -0.1922)
OKLCHoklch(38.86% 0.194 277.9)
XYZxyz(9.2800, 4.9968, 37.5136)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3626A8 #98A826
analogous
#2657A8 #3626A8 #7726A8
triadic
#3626A8 #A83626 #26A836
tetradic
#3626A8 #A82657 #98A826 #26A877
square
#3626A8 #A82657 #98A826 #26A877
split-complementary
#3626A8 #A87726 #57A826
monochromatic
#160F44 #261B76 #3626A8 #4C39D2 #796BDE

Accessibility & contrast

On white

10.50
#3626A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3626A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3626A8
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3626A8#FFFFFF#000000##FFFFFF
##3626A81.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#003AA6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3626a8;
/* rgb */ color: rgb(54, 38, 168);
/* oklch */ color: oklch(38.9% 0.194 277.9);
Tailwind
colors: {
  custom: {
    50: '#7e63c3',
    500: '#3626a8',
    950: '#000000',
  },
}
SCSS
$custom: #3626a8;
$custom-light: #7e63c3;
$custom-dark: #000000;
JSON
{
  "hex": "#3626a8",
  "rgb": {
    "r": 54,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 247.385,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38858,
    "c": 0.19408,
    "h": 277.9
  },
  "luminance": 0.04998
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3626A8

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

Preview Lab → · Contrast checker → · Palette generator →

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