#3B27BA#3B27BA

#3B27BA is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.3% C 0.213 H 277.7°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#3B27BA
RGBrgb(59, 39, 186)
HSLhsl(248, 65%, 44%)
HSVhsv(248, 79%, 73%)
CMYKcmyk(68.3%, 79%, 0%, 27.1%)
CIE-LABlab(29.22, 51.58, -73.17)
CIE-LCHlch(29.22, 89.52, 305.18°)
OKLaboklab(41.27% 0.0284 -0.2114)
OKLCHoklch(41.27% 0.213 277.7)
XYZxyz(11.3892, 5.9250, 46.9883)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B27BA #A6BA27
analogous
#275DBA #3B27BA #8527BA
triadic
#3B27BA #BA3B27 #27BA3B
tetradic
#3B27BA #BA275D #A6BA27 #27BA85
square
#3B27BA #BA275D #A6BA27 #27BA85
split-complementary
#3B27BA #BA8527 #5DBA27
monochromatic
#1B1255 #2B1C87 #3B27BA #5A46D8 #8779E3

Accessibility & contrast

On white

9.61
#3B27BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#3B27BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B27BA
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B27BA#FFFFFF#000000##FFFFFF
##3B27BA1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#003FB7
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3b27ba;
/* rgb */ color: rgb(59, 39, 186);
/* oklch */ color: oklch(41.3% 0.213 277.7);
Tailwind
colors: {
  custom: {
    50: '#8365d0',
    500: '#3b27ba',
    950: '#000000',
  },
}
SCSS
$custom: #3b27ba;
$custom-light: #8365d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3b27ba",
  "rgb": {
    "r": 59,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 248.163,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41273,
    "c": 0.2133,
    "h": 277.7
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#3B27BA
secondary
#BFCB72
accent
#E840D1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3B27BA

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

Preview Lab → · Contrast checker → · Palette generator →

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