#3F6BC4#3F6BC4

#3F6BC4 is a mid, vivid blue. Relative luminance 0.156; OKLCH L 54.3% C 0.147 H 262.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#3F6BC4
RGBrgb(63, 107, 196)
HSLhsl(220, 53%, 51%)
HSVhsv(220, 68%, 77%)
CMYKcmyk(67.9%, 45.4%, 0%, 23.1%)
CIE-LABlab(46.39, 14.28, -51.05)
CIE-LCHlch(46.39, 53.01, 285.63°)
OKLaboklab(54.26% -0.0187 -0.146)
OKLCHoklch(54.26% 0.147 262.7)
XYZxyz(17.2679, 15.5560, 54.3064)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6BC4 #C4983F
analogous
#3FAEC4 #3F6BC4 #553FC4
triadic
#3F6BC4 #C43F6B #6BC43F
tetradic
#3F6BC4 #C43FAE #C4983F #3FC455
square
#3F6BC4 #C43FAE #C4983F #3FC455
split-complementary
#3F6BC4 #C4553F #AEC43F
monochromatic
#203868 #2E5197 #3F6BC4 #6E8FD2 #9DB3E1

Accessibility & contrast

On white

5.11
#3F6BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#3F6BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6BC4
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6BC4#FFFFFF#000000##FFFFFF
##3F6BC41.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F74C7
Deuteranopia (green-blind)
#2668C2
Tritanopia (blue-blind)
#00808E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3f6bc4;
/* rgb */ color: rgb(63, 107, 196);
/* oklch */ color: oklch(54.3% 0.147 262.7);
Tailwind
colors: {
  custom: {
    50: '#8394d6',
    500: '#3f6bc4',
    950: '#000000',
  },
}
SCSS
$custom: #3f6bc4;
$custom-light: #8394d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6bc4",
  "rgb": {
    "r": 63,
    "g": 107,
    "b": 196
  },
  "hsl": {
    "h": 220.15,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54256,
    "c": 0.14723,
    "h": 262.7
  },
  "luminance": 0.15558
}

Semantic roles & 50–950 ramp

primary
#3F6BC4
secondary
#CDB992
accent
#AC4BDC
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #3F6BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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