#3F7BD1#3F7BD1

#3F7BD1 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.6% C 0.146 H 257.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3F7BD1
RGBrgb(63, 123, 209)
HSLhsl(215, 61%, 53%)
HSVhsv(215, 70%, 82%)
CMYKcmyk(69.9%, 41.1%, 0%, 18%)
CIE-LABlab(51.64, 8.98, -50.08)
CIE-LCHlch(51.64, 50.88, 280.16°)
OKLaboklab(58.56% -0.0312 -0.143)
OKLCHoklch(58.56% 0.146 257.7)
XYZxyz(20.6373, 19.8240, 63.0480)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7BD1 #D1953F
analogous
#3FC4D1 #3F7BD1 #4C3FD1
triadic
#3F7BD1 #D13F7B #7BD13F
tetradic
#3F7BD1 #D13FC4 #D1953F #3FD14C
square
#3F7BD1 #D13FC4 #D1953F #3FD14C
split-complementary
#3F7BD1 #D14C3F #C4D13F
monochromatic
#1D4379 #295EAA #3F7BD1 #709DDD #A2BFE9

Accessibility & contrast

On white

4.23
#3F7BD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#3F7BD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7BD1
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7BD1#FFFFFF#000000##000000
##3F7BD11.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5282D4
Deuteranopia (green-blind)
#3B75CF
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3f7bd1;
/* rgb */ color: rgb(63, 123, 209);
/* oklch */ color: oklch(58.6% 0.146 257.7);
Tailwind
colors: {
  custom: {
    50: '#85a0df',
    500: '#3f7bd1',
    950: '#000000',
  },
}
SCSS
$custom: #3f7bd1;
$custom-light: #85a0df;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7bd1",
  "rgb": {
    "r": 63,
    "g": 123,
    "b": 209
  },
  "hsl": {
    "h": 215.342,
    "s": 61.345,
    "l": 53.333
  },
  "oklch": {
    "l": 0.58557,
    "c": 0.14633,
    "h": 257.7
  },
  "luminance": 0.19826
}

Semantic roles & 50–950 ramp

primary
#3F7BD1
secondary
#D5BB97
accent
#A243E4
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3F7BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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