#3F7BDC#3F7BDC

#3F7BDC is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.3% C 0.161 H 259.6°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#3F7BDC
RGBrgb(63, 123, 220)
HSLhsl(217, 69%, 55%)
HSVhsv(217, 71%, 86%)
CMYKcmyk(71.4%, 44.1%, 0%, 13.7%)
CIE-LABlab(52.27, 12.93, -55.29)
CIE-LCHlch(52.27, 56.78, 283.17°)
OKLaboklab(59.25% -0.0291 -0.1582)
OKLCHoklch(59.25% 0.161 259.6)
XYZxyz(22.0465, 20.3876, 70.4696)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7BDC #DCA03F
analogous
#3FC9DC #3F7BDC #513FDC
triadic
#3F7BDC #DC3F7B #7BDC3F
tetradic
#3F7BDC #DC3FC9 #DCA03F #3FDC51
square
#3F7BDC #DC3FC9 #DCA03F #3FDC51
split-complementary
#3F7BDC #DC513F #C9DC3F
monochromatic
#194388 #225DBC #3F7BDC #739FE5 #A7C2EF

Accessibility & contrast

On white

4.14
#3F7BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#3F7BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7BDC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7BDC#FFFFFF#000000##000000
##3F7BDC1.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84E0
Deuteranopia (green-blind)
#2C76DA
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3f7bdc;
/* rgb */ color: rgb(63, 123, 220);
/* oklch */ color: oklch(59.3% 0.161 259.6);
Tailwind
colors: {
  custom: {
    50: '#87a0e7',
    500: '#3f7bdc',
    950: '#000000',
  },
}
SCSS
$custom: #3f7bdc;
$custom-light: #87a0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7bdc",
  "rgb": {
    "r": 63,
    "g": 123,
    "b": 220
  },
  "hsl": {
    "h": 217.07,
    "s": 69.163,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59253,
    "c": 0.1609,
    "h": 259.6
  },
  "luminance": 0.2039
}

Semantic roles & 50–950 ramp

primary
#3F7BDC
secondary
#DCC39B
accent
#A93CEC
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #3F7BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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