#3F7BDA#3F7BDA

#3F7BDA is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.1% C 0.158 H 259.3°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3F7BDA
RGBrgb(63, 123, 218)
HSLhsl(217, 68%, 55%)
HSVhsv(217, 71%, 85%)
CMYKcmyk(71.1%, 43.6%, 0%, 14.5%)
CIE-LABlab(52.15, 12.21, -54.35)
CIE-LCHlch(52.15, 55.70, 282.66°)
OKLaboklab(59.12% -0.0294 -0.1555)
OKLCHoklch(59.12% 0.158 259.3)
XYZxyz(21.7832, 20.2823, 69.0829)
Luminance0.2029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7BDA #DA9E3F
analogous
#3FC9DA #3F7BDA #503FDA
triadic
#3F7BDA #DA3F7B #7BDA3F
tetradic
#3F7BDA #DA3FC9 #DA9E3F #3FDA50
square
#3F7BDA #DA3FC9 #DA9E3F #3FDA50
split-complementary
#3F7BDA #DA503F #C9DA3F
monochromatic
#1A4385 #245DB8 #3F7BDA #729EE4 #A6C2EE

Accessibility & contrast

On white

4.15
#3F7BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#3F7BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7BDA
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7BDA#FFFFFF#000000##000000
##3F7BDA1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C84DE
Deuteranopia (green-blind)
#2F76D8
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3f7bda;
/* rgb */ color: rgb(63, 123, 218);
/* oklch */ color: oklch(59.1% 0.158 259.3);
Tailwind
colors: {
  custom: {
    50: '#86a0e6',
    500: '#3f7bda',
    950: '#000000',
  },
}
SCSS
$custom: #3f7bda;
$custom-light: #86a0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7bda",
  "rgb": {
    "r": 63,
    "g": 123,
    "b": 218
  },
  "hsl": {
    "h": 216.774,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.15825,
    "h": 259.3
  },
  "luminance": 0.20285
}

Semantic roles & 50–950 ramp

primary
#3F7BDA
secondary
#DBC29A
accent
#A73DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #3F7BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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