#3F7CDB#3F7CDB

#3F7CDB is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.4% C 0.158 H 259.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#3F7CDB
RGBrgb(63, 124, 219)
HSLhsl(217, 68%, 55%)
HSVhsv(217, 71%, 86%)
CMYKcmyk(71.2%, 43.4%, 0%, 14.1%)
CIE-LABlab(52.49, 11.96, -54.37)
CIE-LCHlch(52.49, 55.67, 282.40°)
OKLaboklab(59.4% -0.0301 -0.1555)
OKLCHoklch(59.4% 0.158 259)
XYZxyz(22.0391, 20.5842, 69.8157)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7CDB #DB9E3F
analogous
#3FCADB #3F7CDB #503FDB
triadic
#3F7CDB #DB3F7C #7CDB3F
tetradic
#3F7CDB #DB3FCA #DB9E3F #3FDB50
square
#3F7CDB #DB3FCA #DB9E3F #3FDB50
split-complementary
#3F7CDB #DB503F #CADB3F
monochromatic
#194486 #235EBA #3F7CDB #739FE5 #A6C2EE

Accessibility & contrast

On white

4.10
#3F7CDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#3F7CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F7CDB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7CDB#FFFFFF#000000##000000
##3F7CDB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D85DF
Deuteranopia (green-blind)
#3177D9
Tritanopia (blue-blind)
#0092A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #3f7cdb;
/* rgb */ color: rgb(63, 124, 219);
/* oklch */ color: oklch(59.4% 0.158 259.0);
Tailwind
colors: {
  custom: {
    50: '#86a1e7',
    500: '#3f7cdb',
    950: '#000000',
  },
}
SCSS
$custom: #3f7cdb;
$custom-light: #86a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7cdb",
  "rgb": {
    "r": 63,
    "g": 124,
    "b": 219
  },
  "hsl": {
    "h": 216.538,
    "s": 68.421,
    "l": 55.294
  },
  "oklch": {
    "l": 0.59403,
    "c": 0.15844,
    "h": 259
  },
  "luminance": 0.20587
}

Semantic roles & 50–950 ramp

primary
#3F7CDB
secondary
#DCC29A
accent
#A73DEB
background
#F8F9FE
surface
#F0F2FC
border
#CBCCD5
text
#0D0E16
muted
#7D7E84

Preview Lab

Preview with #3F7CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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