#3F47AA#3F47AA

#3F47AA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.157 H 274.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3F47AA
RGBrgb(63, 71, 170)
HSLhsl(236, 46%, 46%)
HSVhsv(236, 63%, 67%)
CMYKcmyk(62.9%, 58.2%, 0%, 33.3%)
CIE-LABlab(34.93, 28.17, -54.28)
CIE-LCHlch(34.93, 61.15, 297.43°)
OKLaboklab(45.02% 0.0129 -0.156)
OKLCHoklch(45.02% 0.157 274.7)
XYZxyz(11.5565, 8.4646, 39.0472)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47AA #AAA23F
analogous
#3F7CAA #3F47AA #6C3FAA
triadic
#3F47AA #AA3F47 #47AA3F
tetradic
#3F47AA #AA3F7C #AAA23F #3FAA6C
square
#3F47AA #AA3F7C #AAA23F #3FAA6C
split-complementary
#3F47AA #AA6C3F #7CAA3F
monochromatic
#1E2251 #2E347D #3F47AA #6269C5 #8E94D5

Accessibility & contrast

On white

7.80
#3F47AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3F47AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F47AA
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47AA#FFFFFF#000000##FFFFFF
##3F47AA1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f47aa;
/* rgb */ color: rgb(63, 71, 170);
/* oklch */ color: oklch(45.0% 0.157 274.7);
Tailwind
colors: {
  custom: {
    50: '#7f7ac4',
    500: '#3f47aa',
    950: '#000000',
  },
}
SCSS
$custom: #3f47aa;
$custom-light: #7f7ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47aa",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 235.514,
    "s": 45.923,
    "l": 45.686
  },
  "oklch": {
    "l": 0.45022,
    "c": 0.15657,
    "h": 274.7
  },
  "luminance": 0.08466
}

Semantic roles & 50–950 ramp

primary
#3F47AA
secondary
#C0BC85
accent
#CC52D6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F47AA

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

Preview Lab → · Contrast checker → · Palette generator →

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