#3F6ACC#3F6ACC

#3F6ACC is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.6% C 0.159 H 264.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3F6ACC
RGBrgb(63, 106, 204)
HSLhsl(222, 58%, 52%)
HSVhsv(222, 69%, 80%)
CMYKcmyk(69.1%, 48%, 0%, 20%)
CIE-LABlab(46.61, 17.79, -55.29)
CIE-LCHlch(46.61, 58.08, 287.84°)
OKLaboklab(54.59% -0.0166 -0.1585)
OKLCHoklch(54.59% 0.159 264)
XYZxyz(18.0992, 15.7226, 59.1960)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6ACC #CCA13F
analogous
#3FB1CC #3F6ACC #5A3FCC
triadic
#3F6ACC #CC3F6A #6ACC3F
tetradic
#3F6ACC #CC3FB1 #CCA13F #3FCC5A
square
#3F6ACC #CC3FB1 #CCA13F #3FCC5A
split-complementary
#3F6ACC #CC5A3F #B1CC3F
monochromatic
#1E3872 #2B50A3 #3F6ACC #6F90D9 #A0B5E6

Accessibility & contrast

On white

5.07
#3F6ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#3F6ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6ACC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6ACC#FFFFFF#000000##FFFFFF
##3F6ACC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3575D0
Deuteranopia (green-blind)
#0F68CA
Tritanopia (blue-blind)
#008191
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3f6acc;
/* rgb */ color: rgb(63, 106, 204);
/* oklch */ color: oklch(54.6% 0.159 264.0);
Tailwind
colors: {
  custom: {
    50: '#8494dc',
    500: '#3f6acc',
    950: '#000000',
  },
}
SCSS
$custom: #3f6acc;
$custom-light: #8494dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6acc",
  "rgb": {
    "r": 63,
    "g": 106,
    "b": 204
  },
  "hsl": {
    "h": 221.702,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54586,
    "c": 0.15939,
    "h": 264
  },
  "luminance": 0.15724
}

Semantic roles & 50–950 ramp

primary
#3F6ACC
secondary
#D2BF95
accent
#B247E1
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #3F6ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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