#3627A2#3627A2

#3627A2 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.4% C 0.186 H 278.5°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#3627A2
RGBrgb(54, 39, 162)
HSLhsl(247, 61%, 39%)
HSVhsv(247, 76%, 64%)
CMYKcmyk(66.7%, 75.9%, 0%, 36.5%)
CIE-LABlab(26.28, 43.65, -63.64)
CIE-LCHlch(26.28, 77.17, 304.45°)
OKLaboklab(38.36% 0.0275 -0.1838)
OKLCHoklch(38.36% 0.186 278.5)
XYZxyz(8.7663, 4.8432, 34.6483)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3627A2 #93A227
analogous
#2756A2 #3627A2 #7427A2
triadic
#3627A2 #A23627 #27A236
tetradic
#3627A2 #A22756 #93A227 #27A274
square
#3627A2 #A22756 #93A227 #27A274
split-complementary
#3627A2 #A27427 #56A227
monochromatic
#150F3F #261B71 #3627A2 #4A37CF #7769DB

Accessibility & contrast

On white

10.67
#3627A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3627A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3627A2
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3627A2#FFFFFF#000000##FFFFFF
##3627A21.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3627a2;
/* rgb */ color: rgb(54, 39, 162);
/* oklch */ color: oklch(38.4% 0.186 278.5);
Tailwind
colors: {
  custom: {
    50: '#7c64bf',
    500: '#3627a2',
    950: '#000000',
  },
}
SCSS
$custom: #3627a2;
$custom-light: #7c64bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3627a2",
  "rgb": {
    "r": 54,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 247.317,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38359,
    "c": 0.18584,
    "h": 278.5
  },
  "luminance": 0.04844
}

Semantic roles & 50–950 ramp

primary
#3627A2
secondary
#B6C164
accent
#E443D1
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3627A2

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

Preview Lab → · Contrast checker → · Palette generator →

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