#3F4CCC#3F4CCC

#3F4CCC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.8% C 0.196 H 272.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#3F4CCC
RGBrgb(63, 76, 204)
HSLhsl(234, 58%, 52%)
HSVhsv(234, 69%, 80%)
CMYKcmyk(69.1%, 62.7%, 0%, 20%)
CIE-LABlab(38.87, 36.84, -67.84)
CIE-LCHlch(38.87, 77.19, 298.50°)
OKLaboklab(48.78% 0.008 -0.1958)
OKLCHoklch(48.78% 0.196 272.3)
XYZxyz(15.5298, 10.5838, 58.3395)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4CCC #CCBF3F
analogous
#3F93CC #3F4CCC #783FCC
triadic
#3F4CCC #CC3F4C #4CCC3F
tetradic
#3F4CCC #CC3F93 #CCBF3F #3FCC78
square
#3F4CCC #CC3F93 #CCBF3F #3FCC78
split-complementary
#3F4CCC #CC783F #93CC3F
monochromatic
#1E2672 #2B36A3 #3F4CCC #6F79D9 #A0A6E6

Accessibility & contrast

On white

6.74
#3F4CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3F4CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4CCC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4CCC#FFFFFF#000000##FFFFFF
##3F4CCC1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0055CA
Tritanopia (blue-blind)
#006D85
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3f4ccc;
/* rgb */ color: rgb(63, 76, 204);
/* oklch */ color: oklch(48.8% 0.196 272.3);
Tailwind
colors: {
  custom: {
    50: '#867edd',
    500: '#3f4ccc',
    950: '#000000',
  },
}
SCSS
$custom: #3f4ccc;
$custom-light: #867edd;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4ccc",
  "rgb": {
    "r": 63,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 234.468,
    "s": 58.025,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48777,
    "c": 0.19598,
    "h": 272.3
  },
  "luminance": 0.10585
}

Semantic roles & 50–950 ramp

primary
#3F4CCC
secondary
#D2CC95
accent
#D347E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0D0A15
muted
#7D7C83

Preview Lab

Preview with #3F4CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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