#3F27BA#3F27BA

#3F27BA is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.6% C 0.212 H 279.2°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#3F27BA
RGBrgb(63, 39, 186)
HSLhsl(250, 65%, 44%)
HSVhsv(250, 79%, 73%)
CMYKcmyk(66.1%, 79%, 0%, 27.1%)
CIE-LABlab(29.54, 51.96, -72.63)
CIE-LCHlch(29.54, 89.30, 305.58°)
OKLaboklab(41.58% 0.0341 -0.2097)
OKLCHoklch(41.58% 0.212 279.2)
XYZxyz(11.6355, 6.0520, 46.9998)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F27BA #A2BA27
analogous
#2759BA #3F27BA #8927BA
triadic
#3F27BA #BA3F27 #27BA3F
tetradic
#3F27BA #BA2759 #A2BA27 #27BA89
square
#3F27BA #BA2759 #A2BA27 #27BA89
split-complementary
#3F27BA #BA8927 #59BA27
monochromatic
#1D1255 #2E1C87 #3F27BA #5E46D8 #8A79E3

Accessibility & contrast

On white

9.50
#3F27BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3F27BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F27BA
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F27BA#FFFFFF#000000##FFFFFF
##3F27BA1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBE
Deuteranopia (green-blind)
#0040B7
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3f27ba;
/* rgb */ color: rgb(63, 39, 186);
/* oklch */ color: oklch(41.6% 0.212 279.2);
Tailwind
colors: {
  custom: {
    50: '#8566d0',
    500: '#3f27ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f27ba;
$custom-light: #8566d0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f27ba",
  "rgb": {
    "r": 63,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 249.796,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.41578,
    "c": 0.21248,
    "h": 279.2
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#3F27BA
secondary
#BCCB72
accent
#E840CD
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0D0614
muted
#7D7A83

Preview Lab

Preview with #3F27BA

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

Preview Lab → · Contrast checker → · Palette generator →

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