#3F4AA2#3F4AA2

#3F4AA2 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 45.0% C 0.141 H 273.9°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#3F4AA2
RGBrgb(63, 74, 162)
HSLhsl(233, 44%, 44%)
HSVhsv(233, 61%, 64%)
CMYKcmyk(61.1%, 54.3%, 0%, 36.5%)
CIE-LABlab(35.13, 23.42, -49.18)
CIE-LCHlch(35.13, 54.47, 295.47°)
OKLaboklab(44.98% 0.0097 -0.141)
OKLCHoklch(44.98% 0.141 273.9)
XYZxyz(11.0181, 8.5621, 35.2474)
Luminance0.0856 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4AA2 #A2973F
analogous
#3F7CA2 #3F4AA2 #663FA2
triadic
#3F4AA2 #A23F4A #4AA23F
tetradic
#3F4AA2 #A23F7C #A2973F #3FA266
square
#3F4AA2 #A23F7C #A2973F #3FA266
split-complementary
#3F4AA2 #A2663F #7CA23F
monochromatic
#1D224A #2E3676 #3F4AA2 #5E69C0 #8A92D1

Accessibility & contrast

On white

7.74
#3F4AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#3F4AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4AA2
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4AA2#FFFFFF#000000##FFFFFF
##3F4AA21.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1157A5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #3f4aa2;
/* rgb */ color: rgb(63, 74, 162);
/* oklch */ color: oklch(45.0% 0.141 273.9);
Tailwind
colors: {
  custom: {
    50: '#7e7cbe',
    500: '#3f4aa2',
    950: '#000000',
  },
}
SCSS
$custom: #3f4aa2;
$custom-light: #7e7cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4aa2",
  "rgb": {
    "r": 63,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 233.333,
    "s": 44,
    "l": 44.118
  },
  "oklch": {
    "l": 0.44982,
    "c": 0.14132,
    "h": 273.9
  },
  "luminance": 0.08563
}

Semantic roles & 50–950 ramp

primary
#3F4AA2
secondary
#BCB681
accent
#C654D4
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0912
muted
#7C7B81

Preview Lab

Preview with #3F4AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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