#3F7BD3#3F7BD3

#3F7BD3 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.7% C 0.149 H 258.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#3F7BD3
RGBrgb(63, 123, 211)
HSLhsl(216, 63%, 54%)
HSVhsv(216, 70%, 83%)
CMYKcmyk(70.1%, 41.7%, 0%, 17.3%)
CIE-LABlab(51.75, 9.70, -51.04)
CIE-LCHlch(51.75, 51.95, 280.76°)
OKLaboklab(58.68% -0.0308 -0.1458)
OKLCHoklch(58.68% 0.149 258.1)
XYZxyz(20.8865, 19.9236, 64.3603)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7BD3 #D3973F
analogous
#3FC5D3 #3F7BD3 #4D3FD3
triadic
#3F7BD3 #D33F7B #7BD33F
tetradic
#3F7BD3 #D33FC5 #D3973F #3FD34D
square
#3F7BD3 #D33FC5 #D3973F #3FD34D
split-complementary
#3F7BD3 #D34D3F #C5D33F
monochromatic
#1C437B #285EAD #3F7BD3 #719DDE #A3BFEA

Accessibility & contrast

On white

4.21
#3F7BD3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#3F7BD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7BD3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7BD3#FFFFFF#000000##000000
##3F7BD31.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5183D6
Deuteranopia (green-blind)
#3875D1
Tritanopia (blue-blind)
#008F9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3f7bd3;
/* rgb */ color: rgb(63, 123, 211);
/* oklch */ color: oklch(58.7% 0.149 258.1);
Tailwind
colors: {
  custom: {
    50: '#85a0e1',
    500: '#3f7bd3',
    950: '#000000',
  },
}
SCSS
$custom: #3f7bd3;
$custom-light: #85a0e1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7bd3",
  "rgb": {
    "r": 63,
    "g": 123,
    "b": 211
  },
  "hsl": {
    "h": 215.676,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58681,
    "c": 0.14898,
    "h": 258.1
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#3F7BD3
secondary
#D7BD97
accent
#A342E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3F7BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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