#3F27E2#3F27E2

#3F27E2 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.9% C 0.257 H 275.1°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#3F27E2
RGBrgb(63, 39, 226)
HSLhsl(248, 76%, 52%)
HSVhsv(248, 83%, 89%)
CMYKcmyk(72.1%, 82.7%, 0%, 11.4%)
CIE-LABlab(33.98, 63.50, -88.57)
CIE-LCHlch(33.98, 108.98, 305.64°)
OKLaboklab(45.93% 0.0227 -0.256)
OKLCHoklch(45.93% 0.257 275.1)
XYZxyz(16.4984, 7.9972, 72.6109)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F27E2 #CAE227
analogous
#276CE2 #3F27E2 #9D27E2
triadic
#3F27E2 #E23F27 #27E23F
tetradic
#3F27E2 #E2276C #CAE227 #27E29D
square
#3F27E2 #E2276C #CAE227 #27E29D
split-complementary
#3F27E2 #E29D27 #6CE227
monochromatic
#1F117E #2C18B4 #3F27E2 #6F5DE9 #9F93F0

Accessibility & contrast

On white

8.08
#3F27E2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#3F27E2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F27E2
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F27E2#FFFFFF#000000##FFFFFF
##3F27E21.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058E7
Deuteranopia (green-blind)
#0047DF
Tritanopia (blue-blind)
#006488
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f27e2;
/* rgb */ color: rgb(63, 39, 226);
/* oklch */ color: oklch(45.9% 0.257 275.1);
Tailwind
colors: {
  custom: {
    50: '#8d68ed',
    500: '#3f27e2',
    950: '#000000',
  },
}
SCSS
$custom: #3f27e2;
$custom-light: #8d68ed;
$custom-dark: #000000;
JSON
{
  "hex": "#3f27e2",
  "rgb": {
    "r": 63,
    "g": 39,
    "b": 226
  },
  "hsl": {
    "h": 247.701,
    "s": 76.327,
    "l": 51.961
  },
  "oklch": {
    "l": 0.45935,
    "c": 0.25703,
    "h": 275.1
  },
  "luminance": 0.07999
}

Semantic roles & 50–950 ramp

primary
#3F27E2
secondary
#D1DB89
accent
#F335DB
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #3F27E2

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

Preview Lab → · Contrast checker → · Palette generator →

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