#3B27AB#3B27AB

#3B27AB is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.7% C 0.196 H 279.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#3B27AB
RGBrgb(59, 39, 171)
HSLhsl(249, 63%, 41%)
HSVhsv(249, 77%, 67%)
CMYKcmyk(65.5%, 77.2%, 0%, 32.9%)
CIE-LABlab(27.63, 47.02, -66.85)
CIE-LCHlch(27.63, 81.73, 305.12°)
OKLaboklab(39.69% 0.0324 -0.193)
OKLCHoklch(39.69% 0.196 279.5)
XYZxyz(9.8775, 5.3203, 39.0266)
Luminance0.0532 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B27AB #97AB27
analogous
#2755AB #3B27AB #7D27AB
triadic
#3B27AB #AB3B27 #27AB3B
tetradic
#3B27AB #AB2755 #97AB27 #27AB7D
square
#3B27AB #AB2755 #97AB27 #27AB7D
split-complementary
#3B27AB #AB7D27 #55AB27
monochromatic
#191047 #2A1C79 #3B27AB #533DD3 #7F6EDE

Accessibility & contrast

On white

10.17
#3B27AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3B27AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B27AB
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B27AB#FFFFFF#000000##FFFFFF
##3B27AB1.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AF
Deuteranopia (green-blind)
#003CA9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3b27ab;
/* rgb */ color: rgb(59, 39, 171);
/* oklch */ color: oklch(39.7% 0.196 279.5);
Tailwind
colors: {
  custom: {
    50: '#8065c5',
    500: '#3b27ab',
    950: '#000000',
  },
}
SCSS
$custom: #3b27ab;
$custom-light: #8065c5;
$custom-dark: #000000;
JSON
{
  "hex": "#3b27ab",
  "rgb": {
    "r": 59,
    "g": 39,
    "b": 171
  },
  "hsl": {
    "h": 249.091,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.39687,
    "c": 0.1957,
    "h": 279.5
  },
  "luminance": 0.05321
}

Semantic roles & 50–950 ramp

primary
#3B27AB
secondary
#B7C569
accent
#E642CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B27AB

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

Preview Lab → · Contrast checker → · Palette generator →

#3B27AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva