#3F27C6#3F27C6

#3F27C6 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.9% C 0.226 H 277.8°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#3F27C6
RGBrgb(63, 39, 198)
HSLhsl(249, 67%, 46%)
HSVhsv(249, 80%, 78%)
CMYKcmyk(68.2%, 80.3%, 0%, 22.4%)
CIE-LABlab(30.84, 55.49, -77.55)
CIE-LCHlch(30.84, 95.36, 305.58°)
OKLaboklab(42.86% 0.0307 -0.224)
OKLCHoklch(42.86% 0.226 277.8)
XYZxyz(12.9652, 6.5839, 54.0027)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F27C6 #AEC627
analogous
#275EC6 #3F27C6 #8F27C6
triadic
#3F27C6 #C63F27 #27C63F
tetradic
#3F27C6 #C6275E #AEC627 #27C68F
square
#3F27C6 #C6275E #AEC627 #27C68F
split-complementary
#3F27C6 #C68F27 #5EC627
monochromatic
#1E1360 #2F1D93 #3F27C6 #644EDC #9081E6

Accessibility & contrast

On white

9.06
#3F27C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#3F27C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F27C6
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F27C6#FFFFFF#000000##FFFFFF
##3F27C61.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCA
Deuteranopia (green-blind)
#0042C3
Tritanopia (blue-blind)
#005877
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #3f27c6;
/* rgb */ color: rgb(63, 39, 198);
/* oklch */ color: oklch(42.9% 0.226 277.8);
Tailwind
colors: {
  custom: {
    50: '#8866d9',
    500: '#3f27c6',
    950: '#000000',
  },
}
SCSS
$custom: #3f27c6;
$custom-light: #8866d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f27c6",
  "rgb": {
    "r": 63,
    "g": 39,
    "b": 198
  },
  "hsl": {
    "h": 249.057,
    "s": 67.089,
    "l": 46.471
  },
  "oklch": {
    "l": 0.4286,
    "c": 0.22614,
    "h": 277.8
  },
  "luminance": 0.06585
}

Semantic roles & 50–950 ramp

primary
#3F27C6
secondary
#C2CF7A
accent
#EA3ED0
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3F27C6

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

Preview Lab → · Contrast checker → · Palette generator →

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