#3B27AD#3B27AD

#3B27AD is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.9% C 0.198 H 279.3°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#3B27AD
RGBrgb(59, 39, 173)
HSLhsl(249, 63%, 42%)
HSVhsv(249, 77%, 68%)
CMYKcmyk(65.9%, 77.5%, 0%, 32.2%)
CIE-LABlab(27.84, 47.63, -67.70)
CIE-LCHlch(27.84, 82.78, 305.13°)
OKLaboklab(39.9% 0.0319 -0.1955)
OKLCHoklch(39.9% 0.198 279.3)
XYZxyz(10.0696, 5.3972, 40.0382)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B27AD #99AD27
analogous
#2756AD #3B27AD #7E27AD
triadic
#3B27AD #AD3B27 #27AD3B
tetradic
#3B27AD #AD2756 #99AD27 #27AD7E
square
#3B27AD #AD2756 #99AD27 #27AD7E
split-complementary
#3B27AD #AD7E27 #56AD27
monochromatic
#191049 #2A1C7B #3B27AD #543ED3 #8070DF

Accessibility & contrast

On white

10.10
#3B27AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#3B27AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B27AD
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B27AD#FFFFFF#000000##FFFFFF
##3B27AD1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B1
Deuteranopia (green-blind)
#003CAB
Tritanopia (blue-blind)
#004E69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3b27ad;
/* rgb */ color: rgb(59, 39, 173);
/* oklch */ color: oklch(39.9% 0.198 279.3);
Tailwind
colors: {
  custom: {
    50: '#8165c7',
    500: '#3b27ad',
    950: '#000000',
  },
}
SCSS
$custom: #3b27ad;
$custom-light: #8165c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b27ad",
  "rgb": {
    "r": 59,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 248.955,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39896,
    "c": 0.19807,
    "h": 279.3
  },
  "luminance": 0.05398
}

Semantic roles & 50–950 ramp

primary
#3B27AD
secondary
#B8C66A
accent
#E642CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B27AD

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

Preview Lab → · Contrast checker → · Palette generator →

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