#3F27BC#3F27BC

#3F27BC is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.8% C 0.215 H 279.0°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#3F27BC
RGBrgb(63, 39, 188)
HSLhsl(250, 66%, 45%)
HSVhsv(250, 79%, 74%)
CMYKcmyk(66.5%, 79.3%, 0%, 26.3%)
CIE-LABlab(29.76, 52.55, -73.46)
CIE-LCHlch(29.76, 90.32, 305.58°)
OKLaboklab(41.79% 0.0335 -0.2121)
OKLCHoklch(41.79% 0.215 279)
XYZxyz(11.8496, 6.1376, 48.1274)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F27BC #A4BC27
analogous
#275ABC #3F27BC #8927BC
triadic
#3F27BC #BC3F27 #27BC3F
tetradic
#3F27BC #BC275A #A4BC27 #27BC89
square
#3F27BC #BC275A #A4BC27 #27BC89
split-complementary
#3F27BC #BC8927 #5ABC27
monochromatic
#1D1257 #2E1C89 #3F27BC #5F47D9 #8B7AE3

Accessibility & contrast

On white

9.43
#3F27BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#3F27BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F27BC
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F27BC#FFFFFF#000000##FFFFFF
##3F27BC1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC0
Deuteranopia (green-blind)
#0040B9
Tritanopia (blue-blind)
#005472
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f27bc;
/* rgb */ color: rgb(63, 39, 188);
/* oklch */ color: oklch(41.8% 0.215 279.0);
Tailwind
colors: {
  custom: {
    50: '#8666d2',
    500: '#3f27bc',
    950: '#000000',
  },
}
SCSS
$custom: #3f27bc;
$custom-light: #8666d2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f27bc",
  "rgb": {
    "r": 63,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 249.664,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4179,
    "c": 0.21477,
    "h": 279
  },
  "luminance": 0.06139
}

Semantic roles & 50–950 ramp

primary
#3F27BC
secondary
#BDCB73
accent
#E93FCD
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0614
muted
#7E7A83

Preview Lab

Preview with #3F27BC

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

Preview Lab → · Contrast checker → · Palette generator →

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