#3F7BD2#3F7BD2

#3F7BD2 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.6% C 0.148 H 257.9°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3F7BD2
RGBrgb(63, 123, 210)
HSLhsl(216, 62%, 54%)
HSVhsv(216, 70%, 82%)
CMYKcmyk(70%, 41.4%, 0%, 17.6%)
CIE-LABlab(51.69, 9.34, -50.56)
CIE-LCHlch(51.69, 51.42, 280.46°)
OKLaboklab(58.62% -0.031 -0.1444)
OKLCHoklch(58.62% 0.148 257.9)
XYZxyz(20.7615, 19.8736, 63.7021)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7BD2 #D2963F
analogous
#3FC4D2 #3F7BD2 #4C3FD2
triadic
#3F7BD2 #D23F7B #7BD23F
tetradic
#3F7BD2 #D23FC4 #D2963F #3FD24C
square
#3F7BD2 #D23FC4 #D2963F #3FD24C
split-complementary
#3F7BD2 #D24C3F #C4D23F
monochromatic
#1D437A #285EAC #3F7BD2 #719DDE #A2BFE9

Accessibility & contrast

On white

4.22
#3F7BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#3F7BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7BD2
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7BD2#FFFFFF#000000##000000
##3F7BD21.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5283D5
Deuteranopia (green-blind)
#3A75D0
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3f7bd2;
/* rgb */ color: rgb(63, 123, 210);
/* oklch */ color: oklch(58.6% 0.148 257.9);
Tailwind
colors: {
  custom: {
    50: '#85a0e0',
    500: '#3f7bd2',
    950: '#000000',
  },
}
SCSS
$custom: #3f7bd2;
$custom-light: #85a0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7bd2",
  "rgb": {
    "r": 63,
    "g": 123,
    "b": 210
  },
  "hsl": {
    "h": 215.51,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58619,
    "c": 0.14765,
    "h": 257.9
  },
  "luminance": 0.19876
}

Semantic roles & 50–950 ramp

primary
#3F7BD2
secondary
#D6BC97
accent
#A343E5
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3F7BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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