#3F7CD4#3F7CD4

#3F7CD4 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.0% C 0.149 H 257.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#3F7CD4
RGBrgb(63, 124, 212)
HSLhsl(215, 63%, 54%)
HSVhsv(215, 70%, 83%)
CMYKcmyk(70.3%, 41.5%, 0%, 16.9%)
CIE-LABlab(52.09, 9.44, -51.06)
CIE-LCHlch(52.09, 51.93, 280.47°)
OKLaboklab(58.96% -0.0315 -0.1458)
OKLCHoklch(58.96% 0.149 257.8)
XYZxyz(21.1369, 20.2233, 65.0641)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7CD4 #D4973F
analogous
#3FC7D4 #3F7CD4 #4D3FD4
triadic
#3F7CD4 #D43F7C #7CD43F
tetradic
#3F7CD4 #D43FC7 #D4973F #3FD44D
square
#3F7CD4 #D43FC7 #D4973F #3FD44D
split-complementary
#3F7CD4 #D44D3F #C7D43F
monochromatic
#1C447D #275FAF #3F7CD4 #719EDF #A3C0EA

Accessibility & contrast

On white

4.16
#3F7CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#3F7CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7CD4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7CD4#FFFFFF#000000##000000
##3F7CD41.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5284D7
Deuteranopia (green-blind)
#3A76D2
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3f7cd4;
/* rgb */ color: rgb(63, 124, 212);
/* oklch */ color: oklch(59.0% 0.149 257.8);
Tailwind
colors: {
  custom: {
    50: '#85a1e2',
    500: '#3f7cd4',
    950: '#000000',
  },
}
SCSS
$custom: #3f7cd4;
$custom-light: #85a1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7cd4",
  "rgb": {
    "r": 63,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 215.436,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58961,
    "c": 0.14919,
    "h": 257.8
  },
  "luminance": 0.20226
}

Semantic roles & 50–950 ramp

primary
#3F7CD4
secondary
#D7BD98
accent
#A341E6
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #3F7CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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