#3F47CA#3F47CA

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

Color values

HEX#3F47CA
RGBrgb(63, 71, 202)
HSLhsl(237, 57%, 52%)
HSVhsv(237, 69%, 79%)
CMYKcmyk(68.8%, 64.9%, 0%, 20.8%)
CIE-LABlab(37.53, 39.24, -68.87)
CIE-LCHlch(37.53, 79.27, 299.67°)
OKLaboklab(47.74% 0.0116 -0.1989)
OKLCHoklch(47.74% 0.199 273.3)
XYZxyz(14.9602, 9.8261, 56.9739)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F47CA #CAC23F
analogous
#3F8DCA #3F47CA #7D3FCA
triadic
#3F47CA #CA3F47 #47CA3F
tetradic
#3F47CA #CA3F8D #CAC23F #3FCA7D
square
#3F47CA #CA3F8D #CAC23F #3FCA7D
split-complementary
#3F47CA #CA7D3F #8DCA3F
monochromatic
#1F2470 #2C33A0 #3F47CA #6F75D7 #9FA3E4

Accessibility & contrast

On white

7.08
#3F47CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#3F47CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F47CA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F47CA#FFFFFF#000000##FFFFFF
##3F47CA1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0052C8
Tritanopia (blue-blind)
#006982
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #3f47ca;
/* rgb */ color: rgb(63, 71, 202);
/* oklch */ color: oklch(47.7% 0.199 273.3);
Tailwind
colors: {
  custom: {
    50: '#867adb',
    500: '#3f47ca',
    950: '#000000',
  },
}
SCSS
$custom: #3f47ca;
$custom-light: #867adb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f47ca",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 236.547,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.47742,
    "c": 0.19922,
    "h": 273.3
  },
  "luminance": 0.09828
}

Semantic roles & 50–950 ramp

primary
#3F47CA
secondary
#D1CD94
accent
#D748E0
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0D0915
muted
#7D7B83

Preview Lab

Preview with #3F47CA

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

Preview Lab → · Contrast checker → · Palette generator →

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