#3F47AF#3F47AF

#3F47AF is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.163 H 274.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#3F47AF
RGBrgb(63, 71, 175)
HSLhsl(236, 47%, 47%)
HSVhsv(236, 64%, 69%)
CMYKcmyk(64%, 59.4%, 0%, 31.4%)
CIE-LABlab(35.32, 29.91, -56.63)
CIE-LCHlch(35.32, 64.05, 297.84°)
OKLaboklab(45.43% 0.0129 -0.163)
OKLCHoklch(45.43% 0.163 274.5)
XYZxyz(12.0385, 8.6574, 41.5858)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47AF #AFA73F
analogous
#3F7FAF #3F47AF #6F3FAF
triadic
#3F47AF #AF3F47 #47AF3F
tetradic
#3F47AF #AF3F7F #AFA73F #3FAF6F
square
#3F47AF #AF3F7F #AFA73F #3FAF6F
split-complementary
#3F47AF #AF6F3F #7FAF3F
monochromatic
#1F2255 #2F3582 #3F47AF #646BC7 #9196D7

Accessibility & contrast

On white

7.69
#3F47AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#3F47AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F47AF
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47AF#FFFFFF#000000##FFFFFF
##3F47AF1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f47af;
/* rgb */ color: rgb(63, 71, 175);
/* oklch */ color: oklch(45.4% 0.163 274.5);
Tailwind
colors: {
  custom: {
    50: '#807ac8',
    500: '#3f47af',
    950: '#000000',
  },
}
SCSS
$custom: #3f47af;
$custom-light: #807ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47af",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 235.714,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.45428,
    "c": 0.16347,
    "h": 274.5
  },
  "luminance": 0.08658
}

Semantic roles & 50–950 ramp

primary
#3F47AF
secondary
#C3BE87
accent
#CD51D7
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #3F47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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