#3F56AE#3F56AE

#3F56AE is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.143 H 269.4°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#3F56AE
RGBrgb(63, 86, 174)
HSLhsl(228, 47%, 46%)
HSVhsv(228, 64%, 68%)
CMYKcmyk(63.8%, 50.6%, 0%, 31.8%)
CIE-LABlab(39.19, 19.85, -49.78)
CIE-LCHlch(39.19, 53.59, 291.74°)
OKLaboklab(48.31% -0.0014 -0.1426)
OKLCHoklch(48.31% 0.143 269.4)
XYZxyz(13.0151, 10.7672, 41.4286)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56AE #AE973F
analogous
#3F8EAE #3F56AE #603FAE
triadic
#3F56AE #AE3F56 #56AE3F
tetradic
#3F56AE #AE3F8E #AE973F #3FAE60
square
#3F56AE #AE3F8E #AE973F #3FAE60
split-complementary
#3F56AE #AE603F #8EAE3F
monochromatic
#1E2A54 #2F4081 #3F56AE #6478C7 #909FD7

Accessibility & contrast

On white

6.66
#3F56AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#3F56AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56AE
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56AE#FFFFFF#000000##FFFFFF
##3F56AE1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2562B1
Deuteranopia (green-blind)
#0658AC
Tritanopia (blue-blind)
#006A7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f56ae;
/* rgb */ color: rgb(63, 86, 174);
/* oklch */ color: oklch(48.3% 0.143 269.4);
Tailwind
colors: {
  custom: {
    50: '#7f85c7',
    500: '#3f56ae',
    950: '#000000',
  },
}
SCSS
$custom: #3f56ae;
$custom-light: #7f85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56ae",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 174
  },
  "hsl": {
    "h": 227.568,
    "s": 46.835,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48307,
    "c": 0.14262,
    "h": 269.4
  },
  "luminance": 0.10768
}

Semantic roles & 50–950 ramp

primary
#3F56AE
secondary
#C2B687
accent
#BB51D6
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0B13
muted
#7C7C82

Preview Lab

Preview with #3F56AE

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

Preview Lab → · Contrast checker → · Palette generator →

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