#3626A2#3626A2

#3626A2 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.2% C 0.187 H 278.7°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).

Color values

HEX#3626A2
RGBrgb(54, 38, 162)
HSLhsl(248, 62%, 39%)
HSVhsv(248, 77%, 64%)
CMYKcmyk(66.7%, 76.5%, 0%, 36.5%)
CIE-LABlab(26.09, 44.19, -63.95)
CIE-LCHlch(26.09, 77.73, 304.64°)
OKLaboklab(38.23% 0.0281 -0.1847)
OKLCHoklch(38.23% 0.187 278.7)
XYZxyz(8.7339, 4.7784, 34.6375)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3626A2 #92A226
analogous
#2654A2 #3626A2 #7426A2
triadic
#3626A2 #A23626 #26A236
tetradic
#3626A2 #A22654 #92A226 #26A274
square
#3626A2 #A22654 #92A226 #26A274
split-complementary
#3626A2 #A27426 #54A226
monochromatic
#150F3F #251A70 #3626A2 #4935D0 #7667DB

Accessibility & contrast

On white

10.74
#3626A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#3626A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3626A2
10.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3626A2#FFFFFF#000000##FFFFFF
##3626A21.0010.741.9610.74
#FFFFFF10.741.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A6
Deuteranopia (green-blind)
#0039A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #3626a2;
/* rgb */ color: rgb(54, 38, 162);
/* oklch */ color: oklch(38.2% 0.187 278.7);
Tailwind
colors: {
  custom: {
    50: '#7c63bf',
    500: '#3626a2',
    950: '#000000',
  },
}
SCSS
$custom: #3626a2;
$custom-light: #7c63bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3626a2",
  "rgb": {
    "r": 54,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 247.742,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38226,
    "c": 0.18682,
    "h": 278.7
  },
  "luminance": 0.04779
}

Semantic roles & 50–950 ramp

primary
#3626A2
secondary
#B5C163
accent
#E543D0
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3626A2

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

Preview Lab → · Contrast checker → · Palette generator →

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