#3F6CCC#3F6CCC

#3F6CCC is a mid, vivid blue. Relative luminance 0.161; OKLCH L 55.0% C 0.157 H 263.3°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#3F6CCC
RGBrgb(63, 108, 204)
HSLhsl(221, 58%, 52%)
HSVhsv(221, 69%, 80%)
CMYKcmyk(69.1%, 47.1%, 0%, 20%)
CIE-LABlab(47.16, 16.53, -54.40)
CIE-LCHlch(47.16, 56.86, 286.90°)
OKLaboklab(55.01% -0.0184 -0.1559)
OKLCHoklch(55.01% 0.157 263.3)
XYZxyz(18.3077, 16.1397, 59.2655)
Luminance0.1614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F6CCC #CC9F3F
analogous
#3FB3CC #3F6CCC #583FCC
triadic
#3F6CCC #CC3F6C #6CCC3F
tetradic
#3F6CCC #CC3FB3 #CC9F3F #3FCC58
square
#3F6CCC #CC3FB3 #CC9F3F #3FCC58
split-complementary
#3F6CCC #CC583F #B3CC3F
monochromatic
#1E3972 #2B51A3 #3F6CCC #6F91D9 #A0B6E6

Accessibility & contrast

On white

4.97
#3F6CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#3F6CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F6CCC
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F6CCC#FFFFFF#000000##FFFFFF
##3F6CCC1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A77D0
Deuteranopia (green-blind)
#196ACA
Tritanopia (blue-blind)
#008292
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #3f6ccc;
/* rgb */ color: rgb(63, 108, 204);
/* oklch */ color: oklch(55.0% 0.157 263.3);
Tailwind
colors: {
  custom: {
    50: '#8495dc',
    500: '#3f6ccc',
    950: '#000000',
  },
}
SCSS
$custom: #3f6ccc;
$custom-light: #8495dc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f6ccc",
  "rgb": {
    "r": 63,
    "g": 108,
    "b": 204
  },
  "hsl": {
    "h": 220.851,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55006,
    "c": 0.15698,
    "h": 263.3
  },
  "luminance": 0.16142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F6CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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