#3F27BB#3F27BB

#3F27BB is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.7% C 0.214 H 279.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#3F27BB
RGBrgb(63, 39, 187)
HSLhsl(250, 65%, 44%)
HSVhsv(250, 79%, 73%)
CMYKcmyk(66.3%, 79.1%, 0%, 26.7%)
CIE-LABlab(29.65, 52.26, -73.04)
CIE-LCHlch(29.65, 89.81, 305.58°)
OKLaboklab(41.68% 0.0338 -0.2109)
OKLCHoklch(41.68% 0.214 279.1)
XYZxyz(11.7422, 6.0947, 47.5617)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F27BB #A3BB27
analogous
#2759BB #3F27BB #8927BB
triadic
#3F27BB #BB3F27 #27BB3F
tetradic
#3F27BB #BB2759 #A3BB27 #27BB89
square
#3F27BB #BB2759 #A3BB27 #27BB89
split-complementary
#3F27BB #BB8927 #59BB27
monochromatic
#1D1256 #2E1C88 #3F27BB #5E47D9 #8A79E3

Accessibility & contrast

On white

9.46
#3F27BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3F27BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F27BB
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F27BB#FFFFFF#000000##FFFFFF
##3F27BB1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBF
Deuteranopia (green-blind)
#0040B8
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f27bb;
/* rgb */ color: rgb(63, 39, 187);
/* oklch */ color: oklch(41.7% 0.214 279.1);
Tailwind
colors: {
  custom: {
    50: '#8566d1',
    500: '#3f27bb',
    950: '#000000',
  },
}
SCSS
$custom: #3f27bb;
$custom-light: #8566d1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f27bb",
  "rgb": {
    "r": 63,
    "g": 39,
    "b": 187
  },
  "hsl": {
    "h": 249.73,
    "s": 65.487,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41684,
    "c": 0.21363,
    "h": 279.1
  },
  "luminance": 0.06096
}

Semantic roles & 50–950 ramp

primary
#3F27BB
secondary
#BDCB73
accent
#E83FCD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3F27BB

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

Preview Lab → · Contrast checker → · Palette generator →

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