#3B27AE#3B27AE

#3B27AE is a dark, vivid blue. Relative luminance 0.054; OKLCH L 40.0% C 0.199 H 279.1°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#3B27AE
RGBrgb(59, 39, 174)
HSLhsl(249, 63%, 42%)
HSVhsv(249, 78%, 68%)
CMYKcmyk(66.1%, 77.6%, 0%, 31.8%)
CIE-LABlab(27.94, 47.94, -68.13)
CIE-LCHlch(27.94, 83.31, 305.13°)
OKLaboklab(40% 0.0316 -0.1967)
OKLCHoklch(40% 0.199 279.1)
XYZxyz(10.1667, 5.4360, 40.5497)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B27AE #9AAE27
analogous
#2757AE #3B27AE #7F27AE
triadic
#3B27AE #AE3B27 #27AE3B
tetradic
#3B27AE #AE2757 #9AAE27 #27AE7F
square
#3B27AE #AE2757 #9AAE27 #27AE7F
split-complementary
#3B27AE #AE7F27 #57AE27
monochromatic
#19114A #2A1C7C #3B27AE #553ED4 #8170DF

Accessibility & contrast

On white

10.06
#3B27AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3B27AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B27AE
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B27AE#FFFFFF#000000##FFFFFF
##3B27AE1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#003DAC
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3b27ae;
/* rgb */ color: rgb(59, 39, 174);
/* oklch */ color: oklch(40.0% 0.199 279.1);
Tailwind
colors: {
  custom: {
    50: '#8165c7',
    500: '#3b27ae',
    950: '#000000',
  },
}
SCSS
$custom: #3b27ae;
$custom-light: #8165c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3b27ae",
  "rgb": {
    "r": 59,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 248.889,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40001,
    "c": 0.19926,
    "h": 279.1
  },
  "luminance": 0.05437
}

Semantic roles & 50–950 ramp

primary
#3B27AE
secondary
#B8C66B
accent
#E641CE
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3B27AE

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

Preview Lab → · Contrast checker → · Palette generator →

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