#3F7CD2#3F7CD2

#3F7CD2 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.8% C 0.147 H 257.4°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#3F7CD2
RGBrgb(63, 124, 210)
HSLhsl(215, 62%, 54%)
HSVhsv(215, 70%, 82%)
CMYKcmyk(70%, 41%, 0%, 17.6%)
CIE-LABlab(51.98, 8.72, -50.11)
CIE-LCHlch(51.98, 50.86, 279.88°)
OKLaboklab(58.84% -0.0319 -0.143)
OKLCHoklch(58.84% 0.147 257.4)
XYZxyz(20.8862, 20.1230, 63.7437)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7CD2 #D2953F
analogous
#3FC5D2 #3F7CD2 #4B3FD2
triadic
#3F7CD2 #D23F7C #7CD23F
tetradic
#3F7CD2 #D23FC5 #D2953F #3FD24B
square
#3F7CD2 #D23FC5 #D2953F #3FD24B
split-complementary
#3F7CD2 #D24B3F #C5D23F
monochromatic
#1D437A #285FAC #3F7CD2 #719EDE #A2C0E9

Accessibility & contrast

On white

4.18
#3F7CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#3F7CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7CD2
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7CD2#FFFFFF#000000##000000
##3F7CD21.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5483D5
Deuteranopia (green-blind)
#3C76D0
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3f7cd2;
/* rgb */ color: rgb(63, 124, 210);
/* oklch */ color: oklch(58.8% 0.147 257.4);
Tailwind
colors: {
  custom: {
    50: '#85a1e0',
    500: '#3f7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #3f7cd2;
$custom-light: #85a1e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7cd2",
  "rgb": {
    "r": 63,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 215.102,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58837,
    "c": 0.14654,
    "h": 257.4
  },
  "luminance": 0.20125
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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