#3B27A3#3B27A3

#3B27A3 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.9% C 0.186 H 280.7°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#3B27A3
RGBrgb(59, 39, 163)
HSLhsl(250, 61%, 40%)
HSVhsv(250, 76%, 64%)
CMYKcmyk(63.8%, 76.1%, 0%, 36.1%)
CIE-LABlab(26.80, 44.55, -63.37)
CIE-LCHlch(26.80, 77.47, 305.11°)
OKLaboklab(38.86% 0.0344 -0.1829)
OKLCHoklch(38.86% 0.186 280.7)
XYZxyz(9.1379, 5.0245, 35.1315)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B27A3 #8FA327
analogous
#2751A3 #3B27A3 #7927A3
triadic
#3B27A3 #A33B27 #27A33B
tetradic
#3B27A3 #A32751 #8FA327 #27A379
square
#3B27A3 #A32751 #8FA327 #27A379
split-complementary
#3B27A3 #A37927 #51A327
monochromatic
#170F40 #291B72 #3B27A3 #5038CF #7C69DB

Accessibility & contrast

On white

10.47
#3B27A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3B27A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B27A3
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B27A3#FFFFFF#000000##FFFFFF
##3B27A31.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#003BA1
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3b27a3;
/* rgb */ color: rgb(59, 39, 163);
/* oklch */ color: oklch(38.9% 0.186 280.7);
Tailwind
colors: {
  custom: {
    50: '#7f64bf',
    500: '#3b27a3',
    950: '#000000',
  },
}
SCSS
$custom: #3b27a3;
$custom-light: #7f64bf;
$custom-dark: #000000;
JSON
{
  "hex": "#3b27a3",
  "rgb": {
    "r": 59,
    "g": 39,
    "b": 163
  },
  "hsl": {
    "h": 249.677,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.38862,
    "c": 0.18608,
    "h": 280.7
  },
  "luminance": 0.05025
}

Semantic roles & 50–950 ramp

primary
#3B27A3
secondary
#B2C164
accent
#E443CA
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3B27A3

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

Preview Lab → · Contrast checker → · Palette generator →

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