#3F81E2#3F81E2

#3F81E2 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.9% C 0.162 H 258.2°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#3F81E2
RGBrgb(63, 129, 226)
HSLhsl(216, 74%, 57%)
HSVhsv(216, 72%, 89%)
CMYKcmyk(72.1%, 42.9%, 0%, 11.4%)
CIE-LABlab(54.29, 11.40, -55.43)
CIE-LCHlch(54.29, 56.60, 281.62°)
OKLaboklab(60.92% -0.0332 -0.1586)
OKLCHoklch(60.92% 0.162 258.2)
XYZxyz(23.6226, 22.2457, 74.9856)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F81E2 #E2A03F
analogous
#3FD2E2 #3F81E2 #4F3FE2
triadic
#3F81E2 #E23F81 #81E23F
tetradic
#3F81E2 #E23FD2 #E2A03F #3FE24F
square
#3F81E2 #E23FD2 #E2A03F #3FE24F
split-complementary
#3F81E2 #E24F3F #D2E23F
monochromatic
#164891 #1E62C6 #3F81E2 #74A4EA #A9C7F2

Accessibility & contrast

On white

3.85
#3F81E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#3F81E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F81E2
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F81E2#FFFFFF#000000##000000
##3F81E21.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#518AE6
Deuteranopia (green-blind)
#347BE0
Tritanopia (blue-blind)
#0098A6
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3f81e2;
/* rgb */ color: rgb(63, 129, 226);
/* oklch */ color: oklch(60.9% 0.162 258.2);
Tailwind
colors: {
  custom: {
    50: '#88a5ec',
    500: '#3f81e2',
    950: '#000000',
  },
}
SCSS
$custom: #3f81e2;
$custom-light: #88a5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3f81e2",
  "rgb": {
    "r": 63,
    "g": 129,
    "b": 226
  },
  "hsl": {
    "h": 215.706,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60923,
    "c": 0.16202,
    "h": 258.2
  },
  "luminance": 0.22248
}

Semantic roles & 50–950 ramp

primary
#3F81E2
secondary
#E0C59D
accent
#A537F0
background
#F9FAFE
surface
#F1F4FD
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #3F81E2

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

Preview Lab → · Contrast checker → · Palette generator →

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