#3626B2#3626B2

#3626B2 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.9% C 0.206 H 276.7°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#3626B2
RGBrgb(54, 38, 178)
HSLhsl(247, 65%, 42%)
HSVhsv(247, 79%, 70%)
CMYKcmyk(69.7%, 78.7%, 0%, 30.2%)
CIE-LABlab(27.80, 49.18, -70.77)
CIE-LCHlch(27.80, 86.18, 304.79°)
OKLaboklab(39.93% 0.0241 -0.2045)
OKLCHoklch(39.93% 0.206 276.7)
XYZxyz(10.2477, 5.3839, 42.6100)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3626B2 #A2B226
analogous
#265CB2 #3626B2 #7C26B2
triadic
#3626B2 #B23626 #26B236
tetradic
#3626B2 #B2265C #A2B226 #26B27C
square
#3626B2 #B2265C #A2B226 #26B27C
split-complementary
#3626B2 #B27C26 #5CB226
monochromatic
#17104D #271B80 #3626B2 #503FD6 #7E72E1

Accessibility & contrast

On white

10.11
#3626B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3626B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3626B2
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3626B2#FFFFFF#000000##FFFFFF
##3626B21.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B6
Deuteranopia (green-blind)
#003CB0
Tritanopia (blue-blind)
#00506C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3626b2;
/* rgb */ color: rgb(54, 38, 178);
/* oklch */ color: oklch(39.9% 0.206 276.7);
Tailwind
colors: {
  custom: {
    50: '#8064ca',
    500: '#3626b2',
    950: '#000000',
  },
}
SCSS
$custom: #3626b2;
$custom-light: #8064ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3626b2",
  "rgb": {
    "r": 54,
    "g": 38,
    "b": 178
  },
  "hsl": {
    "h": 246.857,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39929,
    "c": 0.20595,
    "h": 276.7
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#3626B2
secondary
#BDC86C
accent
#E840D5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3626B2

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

Preview Lab → · Contrast checker → · Palette generator →

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