#3F7CD9#3F7CD9

#3F7CD9 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.3% C 0.156 H 258.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#3F7CD9
RGBrgb(63, 124, 217)
HSLhsl(216, 67%, 55%)
HSVhsv(216, 71%, 85%)
CMYKcmyk(71%, 42.9%, 0%, 14.9%)
CIE-LABlab(52.38, 11.24, -53.43)
CIE-LCHlch(52.38, 54.60, 281.88°)
OKLaboklab(59.28% -0.0305 -0.1528)
OKLCHoklch(59.28% 0.156 258.7)
XYZxyz(21.7774, 20.4795, 68.4374)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7CD9 #D99C3F
analogous
#3FC9D9 #3F7CD9 #4F3FD9
triadic
#3F7CD9 #D93F7C #7CD93F
tetradic
#3F7CD9 #D93FC9 #D99C3F #3FD94F
square
#3F7CD9 #D93FC9 #D99C3F #3FD94F
split-complementary
#3F7CD9 #D94F3F #C9D93F
monochromatic
#1A4484 #245EB7 #3F7CD9 #729FE3 #A5C2ED

Accessibility & contrast

On white

4.12
#3F7CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#3F7CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7CD9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7CD9#FFFFFF#000000##000000
##3F7CD91.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F85DD
Deuteranopia (green-blind)
#3376D7
Tritanopia (blue-blind)
#0092A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3f7cd9;
/* rgb */ color: rgb(63, 124, 217);
/* oklch */ color: oklch(59.3% 0.156 258.7);
Tailwind
colors: {
  custom: {
    50: '#86a1e5',
    500: '#3f7cd9',
    950: '#000000',
  },
}
SCSS
$custom: #3f7cd9;
$custom-light: #86a1e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7cd9",
  "rgb": {
    "r": 63,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 216.234,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59276,
    "c": 0.1558,
    "h": 258.7
  },
  "luminance": 0.20482
}

Semantic roles & 50–950 ramp

primary
#3F7CD9
secondary
#DAC19A
accent
#A63EEA
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #3F7CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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