#3F4CC2#3F4CC2

#3F4CC2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.9% C 0.183 H 272.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#3F4CC2
RGBrgb(63, 76, 194)
HSLhsl(234, 52%, 50%)
HSVhsv(234, 68%, 76%)
CMYKcmyk(67.5%, 60.8%, 0%, 23.9%)
CIE-LABlab(38.06, 33.36, -63.36)
CIE-LCHlch(38.06, 71.60, 297.77°)
OKLaboklab(47.92% 0.0083 -0.1827)
OKLCHoklch(47.92% 0.183 272.6)
XYZxyz(14.3687, 10.1194, 52.2245)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4CC2 #C2B53F
analogous
#3F8DC2 #3F4CC2 #733FC2
triadic
#3F4CC2 #C23F4C #4CC23F
tetradic
#3F4CC2 #C23F8D #C2B53F #3FC273
square
#3F4CC2 #C23F8D #C2B53F #3FC273
split-complementary
#3F4CC2 #C2733F #8DC23F
monochromatic
#202766 #2F3995 #3F4CC2 #6D77D1 #9CA3E0

Accessibility & contrast

On white

6.94
#3F4CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#3F4CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4CC2
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4CC2#FFFFFF#000000##FFFFFF
##3F4CC21.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f4cc2;
/* rgb */ color: rgb(63, 76, 194);
/* oklch */ color: oklch(47.9% 0.183 272.6);
Tailwind
colors: {
  custom: {
    50: '#847ed5',
    500: '#3f4cc2',
    950: '#000000',
  },
}
SCSS
$custom: #3f4cc2;
$custom-light: #847ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4cc2",
  "rgb": {
    "r": 63,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 234.046,
    "s": 51.779,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47924,
    "c": 0.18285,
    "h": 272.6
  },
  "luminance": 0.10121
}

Semantic roles & 50–950 ramp

primary
#3F4CC2
secondary
#CCC691
accent
#CD4DDB
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3F4CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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