#3F47C9#3F47C9

#3F47C9 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.7% C 0.198 H 273.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#3F47C9
RGBrgb(63, 71, 201)
HSLhsl(237, 56%, 52%)
HSVhsv(237, 69%, 79%)
CMYKcmyk(68.7%, 64.7%, 0%, 21.2%)
CIE-LABlab(37.44, 38.89, -68.43)
CIE-LCHlch(37.44, 78.71, 299.61°)
OKLaboklab(47.65% 0.0117 -0.1976)
OKLCHoklch(47.65% 0.198 273.4)
XYZxyz(14.8422, 9.7789, 56.3523)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47C9 #C9C13F
analogous
#3F8CC9 #3F47C9 #7C3FC9
triadic
#3F47C9 #C93F47 #47C93F
tetradic
#3F47C9 #C93F8C #C9C13F #3FC97C
square
#3F47C9 #C93F8C #C9C13F #3FC97C
split-complementary
#3F47C9 #C97C3F #8CC93F
monochromatic
#1F246F #2D339E #3F47C9 #6F75D6 #9FA3E4

Accessibility & contrast

On white

7.10
#3F47C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#3F47C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F47C9
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47C9#FFFFFF#000000##FFFFFF
##3F47C91.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCD
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#006981
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f47c9;
/* rgb */ color: rgb(63, 71, 201);
/* oklch */ color: oklch(47.7% 0.198 273.4);
Tailwind
colors: {
  custom: {
    50: '#867ada',
    500: '#3f47c9',
    950: '#000000',
  },
}
SCSS
$custom: #3f47c9;
$custom-light: #867ada;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47c9",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 201
  },
  "hsl": {
    "h": 236.522,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.47653,
    "c": 0.19795,
    "h": 273.4
  },
  "luminance": 0.0978
}

Semantic roles & 50–950 ramp

primary
#3F47C9
secondary
#D0CD94
accent
#D748DF
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3F47C9

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

Preview Lab → · Contrast checker → · Palette generator →

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