#3F428E#3F428E

#3F428E is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.9% C 0.123 H 277.9°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#3F428E
RGBrgb(63, 66, 142)
HSLhsl(238, 39%, 40%)
HSVhsv(238, 56%, 56%)
CMYKcmyk(55.6%, 53.5%, 0%, 44.3%)
CIE-LABlab(31.59, 21.74, -42.74)
CIE-LCHlch(31.59, 47.95, 296.96°)
OKLaboklab(41.88% 0.0171 -0.1221)
OKLCHoklch(41.88% 0.123 277.9)
XYZxyz(8.8791, 6.9056, 26.4510)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F428E #8E8B3F
analogous
#3F698E #3F428E #643F8E
triadic
#3F428E #8E3F42 #428E3F
tetradic
#3F428E #8E3F69 #8E8B3F #3F8E64
square
#3F428E #8E3F69 #8E8B3F #3F8E64
split-complementary
#3F428E #8E643F #698E3F
monochromatic
#191B39 #2C2E64 #3F428E #565AB4 #8183C7

Accessibility & contrast

On white

8.82
#3F428E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3F428E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F428E
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F428E#FFFFFF#000000##FFFFFF
##3F428E1.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194E91
Deuteranopia (green-blind)
#0B478C
Tritanopia (blue-blind)
#195361
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f428e;
/* rgb */ color: rgb(63, 66, 142);
/* oklch */ color: oklch(41.9% 0.123 277.9);
Tailwind
colors: {
  custom: {
    50: '#7b76b0',
    500: '#3f428e',
    950: '#000000',
  },
}
SCSS
$custom: #3f428e;
$custom-light: #7b76b0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f428e",
  "rgb": {
    "r": 63,
    "g": 66,
    "b": 142
  },
  "hsl": {
    "h": 237.722,
    "s": 38.537,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41882,
    "c": 0.12332,
    "h": 277.9
  },
  "luminance": 0.06906
}

Semantic roles & 50–950 ramp

primary
#3F428E
secondary
#B1AF78
accent
#CA59CE
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3F428E

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

Preview Lab → · Contrast checker → · Palette generator →

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