#3F7FE2#3F7FE2

#3F7FE2 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.5% C 0.164 H 259.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#3F7FE2
RGBrgb(63, 127, 226)
HSLhsl(216, 74%, 57%)
HSVhsv(216, 72%, 89%)
CMYKcmyk(72.1%, 43.8%, 0%, 11.4%)
CIE-LABlab(53.73, 12.63, -56.32)
CIE-LCHlch(53.73, 57.72, 282.64°)
OKLaboklab(60.5% -0.0315 -0.1612)
OKLCHoklch(60.5% 0.164 259)
XYZxyz(23.3618, 21.7239, 74.8987)
Luminance0.2173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7FE2 #E2A23F
analogous
#3FD0E2 #3F7FE2 #513FE2
triadic
#3F7FE2 #E23F7F #7FE23F
tetradic
#3F7FE2 #E23FD0 #E2A23F #3FE251
square
#3F7FE2 #E23FD0 #E2A23F #3FE251
split-complementary
#3F7FE2 #E2513F #D0E23F
monochromatic
#164691 #1E60C6 #3F7FE2 #74A2EA #A9C6F2

Accessibility & contrast

On white

3.93
#3F7FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#3F7FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7FE2
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7FE2#FFFFFF#000000##000000
##3F7FE21.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D88E6
Deuteranopia (green-blind)
#2E79E0
Tritanopia (blue-blind)
#0096A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #3f7fe2;
/* rgb */ color: rgb(63, 127, 226);
/* oklch */ color: oklch(60.5% 0.164 259.0);
Tailwind
colors: {
  custom: {
    50: '#88a3ec',
    500: '#3f7fe2',
    950: '#000000',
  },
}
SCSS
$custom: #3f7fe2;
$custom-light: #88a3ec;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7fe2",
  "rgb": {
    "r": 63,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 216.442,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60495,
    "c": 0.16426,
    "h": 259
  },
  "luminance": 0.21726
}

Semantic roles & 50–950 ramp

primary
#3F7FE2
secondary
#E0C69D
accent
#A837F0
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #3F7FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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