#3F6DB2#3F6DB2

#3F6DB2 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 53.6% C 0.120 H 258.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#3F6DB2
RGBrgb(63, 109, 178)
HSLhsl(216, 48%, 47%)
HSVhsv(216, 65%, 70%)
CMYKcmyk(64.6%, 38.8%, 0%, 30.2%)
CIE-LABlab(45.92, 6.59, -41.36)
CIE-LCHlch(45.92, 41.89, 279.06°)
OKLaboklab(53.56% -0.0243 -0.1176)
OKLCHoklch(53.56% 0.12 258.3)
XYZxyz(15.5516, 15.2069, 44.2265)
Luminance0.1521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6DB2 #B2843F
analogous
#3FA7B2 #3F6DB2 #4B3FB2
triadic
#3F6DB2 #B23F6D #6DB23F
tetradic
#3F6DB2 #B23FA7 #B2843F #3FB24B
square
#3F6DB2 #B23FA7 #B2843F #3FB24B
split-complementary
#3F6DB2 #B24B3F #A7B23F
monochromatic
#1F3658 #2F5185 #3F6DB2 #668DC9 #93AFD9

Accessibility & contrast

On white

5.20
#3F6DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#3F6DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6DB2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6DB2#FFFFFF#000000##FFFFFF
##3F6DB21.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B5
Deuteranopia (green-blind)
#3E68B1
Tritanopia (blue-blind)
#007D87
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3f6db2;
/* rgb */ color: rgb(63, 109, 178);
/* oklch */ color: oklch(53.6% 0.120 258.3);
Tailwind
colors: {
  custom: {
    50: '#7f96c9',
    500: '#3f6db2',
    950: '#000000',
  },
}
SCSS
$custom: #3f6db2;
$custom-light: #7f96c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6db2",
  "rgb": {
    "r": 63,
    "g": 109,
    "b": 178
  },
  "hsl": {
    "h": 216,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53556,
    "c": 0.12007,
    "h": 258.3
  },
  "luminance": 0.15208
}

Semantic roles & 50–950 ramp

primary
#3F6DB2
secondary
#C4AC89
accent
#A150D7
background
#F8F9FC
surface
#EFF1F8
border
#CACBD1
text
#0B0D13
muted
#7C7E82

Preview Lab

Preview with #3F6DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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