#3F56BA#3F56BA

#3F56BA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.2% C 0.159 H 269.9°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#3F56BA
RGBrgb(63, 86, 186)
HSLhsl(229, 49%, 49%)
HSVhsv(229, 66%, 73%)
CMYKcmyk(66.1%, 53.8%, 0%, 27.1%)
CIE-LABlab(40.01, 24.13, -55.51)
CIE-LCHlch(40.01, 60.52, 293.49°)
OKLaboklab(49.19% -0.0004 -0.1595)
OKLCHoklch(49.19% 0.159 269.9)
XYZxyz(14.2376, 11.2562, 47.8672)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F56BA #BAA33F
analogous
#3F94BA #3F56BA #653FBA
triadic
#3F56BA #BA3F56 #56BA3F
tetradic
#3F56BA #BA3F94 #BAA33F #3FBA65
square
#3F56BA #BA3F94 #BAA33F #3FBA65
split-complementary
#3F56BA #BA653F #94BA3F
monochromatic
#202C5F #30418C #3F56BA #6A7CCC #97A4DC

Accessibility & contrast

On white

6.46
#3F56BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#3F56BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F56BA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F56BA#FFFFFF#000000##FFFFFF
##3F56BA1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F64BD
Deuteranopia (green-blind)
#0059B8
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3f56ba;
/* rgb */ color: rgb(63, 86, 186);
/* oklch */ color: oklch(49.2% 0.159 269.9);
Tailwind
colors: {
  custom: {
    50: '#8285cf',
    500: '#3f56ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f56ba;
$custom-light: #8285cf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f56ba",
  "rgb": {
    "r": 63,
    "g": 86,
    "b": 186
  },
  "hsl": {
    "h": 228.78,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49192,
    "c": 0.15948,
    "h": 269.9
  },
  "luminance": 0.11258
}

Semantic roles & 50–950 ramp

primary
#3F56BA
secondary
#C8BD8D
accent
#BF4FD9
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #3F56BA

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

Preview Lab → · Contrast checker → · Palette generator →

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