#3F71E3#3F71E3

#3F71E3 is a mid, vivid blue. Relative luminance 0.184; OKLCH L 57.6% C 0.182 H 263.8°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#3F71E3
RGBrgb(63, 113, 227)
HSLhsl(222, 75%, 57%)
HSVhsv(222, 72%, 89%)
CMYKcmyk(72.2%, 50.2%, 0%, 11%)
CIE-LABlab(49.99, 21.69, -62.90)
CIE-LCHlch(49.99, 66.54, 289.03°)
OKLaboklab(57.64% -0.0196 -0.1808)
OKLCHoklch(57.64% 0.182 263.8)
XYZxyz(21.8152, 18.4107, 75.0621)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F71E3 #E3B13F
analogous
#3FC3E3 #3F71E3 #5F3FE3
triadic
#3F71E3 #E33F71 #71E33F
tetradic
#3F71E3 #E33FC3 #E3B13F #3FE35F
square
#3F71E3 #E33FC3 #E3B13F #3FE35F
split-complementary
#3F71E3 #E35F3F #C3E33F
monochromatic
#153B92 #1D51C8 #3F71E3 #7499EB #AAC0F3

Accessibility & contrast

On white

4.48
#3F71E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#3F71E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F71E3
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F71E3#FFFFFF#000000##000000
##3F71E31.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7FE7
Deuteranopia (green-blind)
#0070E1
Tritanopia (blue-blind)
#008C9F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3f71e3;
/* rgb */ color: rgb(63, 113, 227);
/* oklch */ color: oklch(57.6% 0.182 263.8);
Tailwind
colors: {
  custom: {
    50: '#8899ec',
    500: '#3f71e3',
    950: '#000000',
  },
}
SCSS
$custom: #3f71e3;
$custom-light: #8899ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3f71e3",
  "rgb": {
    "r": 63,
    "g": 113,
    "b": 227
  },
  "hsl": {
    "h": 221.707,
    "s": 74.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57644,
    "c": 0.18188,
    "h": 263.8
  },
  "luminance": 0.18413
}

Semantic roles & 50–950 ramp

primary
#3F71E3
secondary
#E0CC9D
accent
#B837F1
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #3F71E3

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

Preview Lab → · Contrast checker → · Palette generator →

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