#3F6BD2#3F6BD2

#3F6BD2 is a mid, vivid blue. Relative luminance 0.162; OKLCH L 55.2% C 0.166 H 264.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#3F6BD2
RGBrgb(63, 107, 210)
HSLhsl(222, 62%, 54%)
HSVhsv(222, 70%, 82%)
CMYKcmyk(70%, 49%, 0%, 17.6%)
CIE-LABlab(47.27, 19.33, -57.66)
CIE-LCHlch(47.27, 60.81, 288.53°)
OKLaboklab(55.21% -0.0166 -0.1655)
OKLCHoklch(55.21% 0.166 264.3)
XYZxyz(18.9364, 16.2233, 63.0937)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6BD2 #D2A63F
analogous
#3FB4D2 #3F6BD2 #5C3FD2
triadic
#3F6BD2 #D23F6B #6BD23F
tetradic
#3F6BD2 #D23FB4 #D2A63F #3FD25C
square
#3F6BD2 #D23FB4 #D2A63F #3FD25C
split-complementary
#3F6BD2 #D25C3F #B4D23F
monochromatic
#1D397A #2850AC #3F6BD2 #7191DE #A2B7E9

Accessibility & contrast

On white

4.95
#3F6BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#3F6BD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6BD2
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6BD2#FFFFFF#000000##FFFFFF
##3F6BD21.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3177D6
Deuteranopia (green-blind)
#006AD0
Tritanopia (blue-blind)
#008394
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3f6bd2;
/* rgb */ color: rgb(63, 107, 210);
/* oklch */ color: oklch(55.2% 0.166 264.3);
Tailwind
colors: {
  custom: {
    50: '#8594e0',
    500: '#3f6bd2',
    950: '#000000',
  },
}
SCSS
$custom: #3f6bd2;
$custom-light: #8594e0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6bd2",
  "rgb": {
    "r": 63,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 222.041,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55212,
    "c": 0.16632,
    "h": 264.3
  },
  "luminance": 0.16225
}

Semantic roles & 50–950 ramp

primary
#3F6BD2
secondary
#D6C397
accent
#B443E5
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3F6BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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