#3F7FD9#3F7FD9

#3F7FD9 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 59.9% C 0.152 H 257.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#3F7FD9
RGBrgb(63, 127, 217)
HSLhsl(215, 67%, 55%)
HSVhsv(215, 71%, 85%)
CMYKcmyk(71%, 41.5%, 0%, 14.9%)
CIE-LABlab(53.21, 9.40, -52.09)
CIE-LCHlch(53.21, 52.93, 280.22°)
OKLaboklab(59.93% -0.0332 -0.1488)
OKLCHoklch(59.93% 0.152 257.4)
XYZxyz(22.1591, 21.2429, 68.5646)
Luminance0.2124 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7FD9 #D9993F
analogous
#3FCCD9 #3F7FD9 #4C3FD9
triadic
#3F7FD9 #D93F7F #7FD93F
tetradic
#3F7FD9 #D93FCC #D9993F #3FD94C
square
#3F7FD9 #D93FCC #D9993F #3FD94C
split-complementary
#3F7FD9 #D94C3F #CCD93F
monochromatic
#1A4684 #2461B7 #3F7FD9 #72A1E3 #A5C3ED

Accessibility & contrast

On white

4.00
#3F7FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#3F7FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7FD9
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7FD9#FFFFFF#000000##000000
##3F7FD91.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5487DD
Deuteranopia (green-blind)
#3A79D7
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3f7fd9;
/* rgb */ color: rgb(63, 127, 217);
/* oklch */ color: oklch(59.9% 0.152 257.4);
Tailwind
colors: {
  custom: {
    50: '#86a3e5',
    500: '#3f7fd9',
    950: '#000000',
  },
}
SCSS
$custom: #3f7fd9;
$custom-light: #86a3e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7fd9",
  "rgb": {
    "r": 63,
    "g": 127,
    "b": 217
  },
  "hsl": {
    "h": 215.065,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59926,
    "c": 0.15245,
    "h": 257.4
  },
  "luminance": 0.21245
}

Semantic roles & 50–950 ramp

primary
#3F7FD9
secondary
#DABF9A
accent
#A23EEA
background
#F8FAFE
surface
#F0F3FC
border
#CBCDD5
text
#0D0F16
muted
#7D7F84

Preview Lab

Preview with #3F7FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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