#3F7FDA#3F7FDA

#3F7FDA is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.0% C 0.154 H 257.6°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#3F7FDA
RGBrgb(63, 127, 218)
HSLhsl(215, 68%, 55%)
HSVhsv(215, 71%, 85%)
CMYKcmyk(71.1%, 41.7%, 0%, 14.5%)
CIE-LABlab(53.27, 9.75, -52.56)
CIE-LCHlch(53.27, 53.46, 280.51°)
OKLaboklab(59.99% -0.033 -0.1502)
OKLCHoklch(59.99% 0.154 257.6)
XYZxyz(22.2896, 21.2951, 69.2517)
Luminance0.2130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7FDA #DA9A3F
analogous
#3FCCDA #3F7FDA #4C3FDA
triadic
#3F7FDA #DA3F7F #7FDA3F
tetradic
#3F7FDA #DA3FCC #DA9A3F #3FDA4C
square
#3F7FDA #DA3FCC #DA9A3F #3FDA4C
split-complementary
#3F7FDA #DA4C3F #CCDA3F
monochromatic
#1A4685 #2461B8 #3F7FDA #72A1E4 #A6C3EE

Accessibility & contrast

On white

3.99
#3F7FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#3F7FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7FDA
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7FDA#FFFFFF#000000##000000
##3F7FDA1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5387DE
Deuteranopia (green-blind)
#3979D8
Tritanopia (blue-blind)
#0094A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3f7fda;
/* rgb */ color: rgb(63, 127, 218);
/* oklch */ color: oklch(60.0% 0.154 257.6);
Tailwind
colors: {
  custom: {
    50: '#86a3e6',
    500: '#3f7fda',
    950: '#000000',
  },
}
SCSS
$custom: #3f7fda;
$custom-light: #86a3e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7fda",
  "rgb": {
    "r": 63,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 215.226,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59988,
    "c": 0.15377,
    "h": 257.6
  },
  "luminance": 0.21297
}

Semantic roles & 50–950 ramp

primary
#3F7FDA
secondary
#DBC09A
accent
#A33DEB
background
#F8FAFE
surface
#F0F3FC
border
#CBCDD5
text
#0D0F16
muted
#7D7F84

Preview Lab

Preview with #3F7FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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