#3F4CC4#3F4CC4

#3F4CC4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.1% C 0.185 H 272.6°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#3F4CC4
RGBrgb(63, 76, 196)
HSLhsl(234, 53%, 51%)
HSVhsv(234, 68%, 77%)
CMYKcmyk(67.9%, 61.2%, 0%, 23.1%)
CIE-LABlab(38.22, 34.05, -64.26)
CIE-LCHlch(38.22, 72.73, 297.92°)
OKLaboklab(48.09% 0.0083 -0.1853)
OKLCHoklch(48.09% 0.186 272.6)
XYZxyz(14.5948, 10.2098, 53.4154)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4CC4 #C4B73F
analogous
#3F8FC4 #3F4CC4 #743FC4
triadic
#3F4CC4 #C43F4C #4CC43F
tetradic
#3F4CC4 #C43F8F #C4B73F #3FC474
square
#3F4CC4 #C43F8F #C4B73F #3FC474
split-complementary
#3F4CC4 #C4743F #8FC43F
monochromatic
#202768 #2E3997 #3F4CC4 #6E78D2 #9DA3E1

Accessibility & contrast

On white

6.90
#3F4CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3F4CC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4CC4
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4CC4#FFFFFF#000000##FFFFFF
##3F4CC41.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#0054C2
Tritanopia (blue-blind)
#006A81
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3f4cc4;
/* rgb */ color: rgb(63, 76, 196);
/* oklch */ color: oklch(48.1% 0.185 272.6);
Tailwind
colors: {
  custom: {
    50: '#847ed7',
    500: '#3f4cc4',
    950: '#000000',
  },
}
SCSS
$custom: #3f4cc4;
$custom-light: #847ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4cc4",
  "rgb": {
    "r": 63,
    "g": 76,
    "b": 196
  },
  "hsl": {
    "h": 234.135,
    "s": 52.988,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48092,
    "c": 0.1855,
    "h": 272.6
  },
  "luminance": 0.10211
}

Semantic roles & 50–950 ramp

primary
#3F4CC4
secondary
#CDC792
accent
#CE4BDC
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83

Preview Lab

Preview with #3F4CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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