#3F7BD9#3F7BD9

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

Color values

HEX#3F7BD9
RGBrgb(63, 123, 217)
HSLhsl(217, 67%, 55%)
HSVhsv(217, 71%, 85%)
CMYKcmyk(71%, 43.3%, 0%, 14.9%)
CIE-LABlab(52.10, 11.85, -53.88)
CIE-LCHlch(52.10, 55.17, 282.41°)
OKLaboklab(59.06% -0.0296 -0.1541)
OKLCHoklch(59.06% 0.157 259.1)
XYZxyz(21.6527, 20.2301, 68.3958)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7BD9 #D99D3F
analogous
#3FC8D9 #3F7BD9 #503FD9
triadic
#3F7BD9 #D93F7B #7BD93F
tetradic
#3F7BD9 #D93FC8 #D99D3F #3FD950
square
#3F7BD9 #D93FC8 #D99D3F #3FD950
split-complementary
#3F7BD9 #D9503F #C8D93F
monochromatic
#1A4384 #245DB7 #3F7BD9 #729EE3 #A5C1ED

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3F7BD9#FFFFFF#000000##000000
##3F7BD91.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)
#4D84DD
Deuteranopia (green-blind)
#3176D7
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3f7bd9;
/* rgb */ color: rgb(63, 123, 217);
/* oklch */ color: oklch(59.1% 0.157 259.1);
Tailwind
colors: {
  custom: {
    50: '#86a0e5',
    500: '#3f7bd9',
    950: '#000000',
  },
}
SCSS
$custom: #3f7bd9;
$custom-light: #86a0e5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7bd9",
  "rgb": {
    "r": 63,
    "g": 123,
    "b": 217
  },
  "hsl": {
    "h": 216.623,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5906,
    "c": 0.15692,
    "h": 259.1
  },
  "luminance": 0.20232
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F7BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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