#3F4CDA#3F4CDA

#3F4CDA is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.0% C 0.214 H 271.9°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#3F4CDA
RGBrgb(63, 76, 218)
HSLhsl(235, 68%, 55%)
HSVhsv(235, 71%, 85%)
CMYKcmyk(71.1%, 65.1%, 0%, 14.5%)
CIE-LABlab(40.06, 41.65, -73.95)
CIE-LCHlch(40.06, 84.87, 299.39°)
OKLaboklab(50.01% 0.0071 -0.2137)
OKLCHoklch(50.01% 0.214 271.9)
XYZxyz(17.2850, 11.2859, 67.5835)
Luminance0.1129 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4CDA #DACD3F
analogous
#3F99DA #3F4CDA #803FDA
triadic
#3F4CDA #DA3F4C #4CDA3F
tetradic
#3F4CDA #DA3F99 #DACD3F #3FDA80
square
#3F4CDA #DA3F99 #DACD3F #3FDA80
split-complementary
#3F4CDA #DA803F #99DA3F
monochromatic
#1A2385 #2430B8 #3F4CDA #727CE4 #A6ACEE

Accessibility & contrast

On white

6.45
#3F4CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#3F4CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F4CDA
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4CDA#FFFFFF#000000##FFFFFF
##3F4CDA1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DE
Deuteranopia (green-blind)
#0057D7
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3f4cda;
/* rgb */ color: rgb(63, 76, 218);
/* oklch */ color: oklch(50.0% 0.214 271.9);
Tailwind
colors: {
  custom: {
    50: '#897ee7',
    500: '#3f4cda',
    950: '#000000',
  },
}
SCSS
$custom: #3f4cda;
$custom-light: #897ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4cda",
  "rgb": {
    "r": 63,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 234.968,
    "s": 67.686,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50012,
    "c": 0.21385,
    "h": 271.9
  },
  "luminance": 0.11288
}

Semantic roles & 50–950 ramp

primary
#3F4CDA
secondary
#DBD59A
accent
#DC3DEB
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #3F4CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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