#3B27BC#3B27BC

#3B27BC is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.5% C 0.216 H 277.4°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#3B27BC
RGBrgb(59, 39, 188)
HSLhsl(248, 66%, 45%)
HSVhsv(248, 79%, 74%)
CMYKcmyk(68.6%, 79.3%, 0%, 26.3%)
CIE-LABlab(29.44, 52.18, -73.99)
CIE-LCHlch(29.44, 90.54, 305.19°)
OKLaboklab(41.49% 0.0279 -0.2138)
OKLCHoklch(41.49% 0.216 277.4)
XYZxyz(11.6033, 6.0106, 48.1159)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B27BC #A8BC27
analogous
#275DBC #3B27BC #8627BC
triadic
#3B27BC #BC3B27 #27BC3B
tetradic
#3B27BC #BC275D #A8BC27 #27BC86
square
#3B27BC #BC275D #A8BC27 #27BC86
split-complementary
#3B27BC #BC8627 #5DBC27
monochromatic
#1B1257 #2B1C89 #3B27BC #5B47D9 #887AE3

Accessibility & contrast

On white

9.54
#3B27BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#3B27BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B27BC
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B27BC#FFFFFF#000000##FFFFFF
##3B27BC1.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC0
Deuteranopia (green-blind)
#003FB9
Tritanopia (blue-blind)
#005472
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3b27bc;
/* rgb */ color: rgb(59, 39, 188);
/* oklch */ color: oklch(41.5% 0.216 277.4);
Tailwind
colors: {
  custom: {
    50: '#8466d2',
    500: '#3b27bc',
    950: '#000000',
  },
}
SCSS
$custom: #3b27bc;
$custom-light: #8466d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3b27bc",
  "rgb": {
    "r": 59,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 248.054,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41488,
    "c": 0.21561,
    "h": 277.4
  },
  "luminance": 0.06012
}

Semantic roles & 50–950 ramp

primary
#3B27BC
secondary
#C0CB73
accent
#E93FD2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #3B27BC

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

Preview Lab → · Contrast checker → · Palette generator →

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