#3F27B9#3F27B9

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

Color values

HEX#3F27B9
RGBrgb(63, 39, 185)
HSLhsl(250, 65%, 44%)
HSVhsv(250, 79%, 73%)
CMYKcmyk(65.9%, 78.9%, 0%, 27.5%)
CIE-LABlab(29.44, 51.66, -72.21)
CIE-LCHlch(29.44, 88.79, 305.58°)
OKLaboklab(41.47% 0.0344 -0.2085)
OKLCHoklch(41.47% 0.211 279.4)
XYZxyz(11.5296, 6.0096, 46.4419)
Luminance0.0601 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F27B9 #A1B927
analogous
#2758B9 #3F27B9 #8827B9
triadic
#3F27B9 #B93F27 #27B93F
tetradic
#3F27B9 #B92758 #A1B927 #27B988
square
#3F27B9 #B92758 #A1B927 #27B988
split-complementary
#3F27B9 #B98827 #58B927
monochromatic
#1D1254 #2E1C86 #3F27B9 #5D45D8 #8978E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F27B9#FFFFFF#000000##FFFFFF
##3F27B91.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)
#004BBD
Deuteranopia (green-blind)
#0040B6
Tritanopia (blue-blind)
#005370
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #3f27b9;
/* rgb */ color: rgb(63, 39, 185);
/* oklch */ color: oklch(41.5% 0.211 279.4);
Tailwind
colors: {
  custom: {
    50: '#8566cf',
    500: '#3f27b9',
    950: '#000000',
  },
}
SCSS
$custom: #3f27b9;
$custom-light: #8566cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f27b9",
  "rgb": {
    "r": 63,
    "g": 39,
    "b": 185
  },
  "hsl": {
    "h": 249.863,
    "s": 65.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41472,
    "c": 0.21132,
    "h": 279.4
  },
  "luminance": 0.06011
}

Semantic roles & 50–950 ramp

primary
#3F27B9
secondary
#BCCA72
accent
#E840CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0D0614
muted
#7D7A82

Preview Lab

Preview with #3F27B9

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

Preview Lab → · Contrast checker → · Palette generator →

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