#3F47BA#3F47BA

#3F47BA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.3% C 0.178 H 274.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#3F47BA
RGBrgb(63, 71, 186)
HSLhsl(236, 49%, 49%)
HSVhsv(236, 66%, 73%)
CMYKcmyk(66.1%, 61.8%, 0%, 27.1%)
CIE-LABlab(36.19, 33.73, -61.71)
CIE-LCHlch(36.19, 70.33, 298.66°)
OKLaboklab(46.35% 0.0126 -0.1779)
OKLCHoklch(46.35% 0.178 274)
XYZxyz(13.1631, 9.1072, 47.5090)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47BA #BAB23F
analogous
#3F85BA #3F47BA #753FBA
triadic
#3F47BA #BA3F47 #47BA3F
tetradic
#3F47BA #BA3F85 #BAB23F #3FBA75
square
#3F47BA #BA3F85 #BAB23F #3FBA75
split-complementary
#3F47BA #BA753F #85BA3F
monochromatic
#20245F #30368C #3F47BA #6A70CC #979CDC

Accessibility & contrast

On white

7.44
#3F47BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#3F47BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F47BA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47BA#FFFFFF#000000##FFFFFF
##3F47BA1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00647A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #3f47ba;
/* rgb */ color: rgb(63, 71, 186);
/* oklch */ color: oklch(46.3% 0.178 274.0);
Tailwind
colors: {
  custom: {
    50: '#837ad0',
    500: '#3f47ba',
    950: '#000000',
  },
}
SCSS
$custom: #3f47ba;
$custom-light: #837ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47ba",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 236.098,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.46347,
    "c": 0.17832,
    "h": 274
  },
  "luminance": 0.09108
}

Semantic roles & 50–950 ramp

primary
#3F47BA
secondary
#C8C48D
accent
#D04FD9
background
#F8F7FC
surface
#F0EDF9
border
#CBC8D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #3F47BA

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

Preview Lab → · Contrast checker → · Palette generator →

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