#3F7AE2#3F7AE2

#3F7AE2 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.4% C 0.170 H 260.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#3F7AE2
RGBrgb(63, 122, 226)
HSLhsl(218, 74%, 57%)
HSVhsv(218, 72%, 89%)
CMYKcmyk(72.1%, 46%, 0%, 11.4%)
CIE-LABlab(52.36, 15.72, -58.53)
CIE-LCHlch(52.36, 60.60, 285.03°)
OKLaboklab(59.44% -0.0272 -0.1678)
OKLCHoklch(59.44% 0.17 260.8)
XYZxyz(22.7320, 20.4643, 74.6887)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7AE2 #E2A73F
analogous
#3FCCE2 #3F7AE2 #563FE2
triadic
#3F7AE2 #E23F7A #7AE23F
tetradic
#3F7AE2 #E23FCC #E2A73F #3FE256
square
#3F7AE2 #E23FCC #E2A73F #3FE256
split-complementary
#3F7AE2 #E2563F #CCE23F
monochromatic
#164291 #1E5BC6 #3F7AE2 #749FEA #A9C4F2

Accessibility & contrast

On white

4.12
#3F7AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#3F7AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7AE2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7AE2#FFFFFF#000000##000000
##3F7AE21.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4385E6
Deuteranopia (green-blind)
#1D76E0
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3f7ae2;
/* rgb */ color: rgb(63, 122, 226);
/* oklch */ color: oklch(59.4% 0.170 260.8);
Tailwind
colors: {
  custom: {
    50: '#889fec',
    500: '#3f7ae2',
    950: '#000000',
  },
}
SCSS
$custom: #3f7ae2;
$custom-light: #889fec;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7ae2",
  "rgb": {
    "r": 63,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 218.282,
    "s": 73.756,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59435,
    "c": 0.16998,
    "h": 260.8
  },
  "luminance": 0.20467
}

Semantic roles & 50–950 ramp

primary
#3F7AE2
secondary
#E0C89D
accent
#AD37F0
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3F7AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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