#3F428D#3F428D

#3F428D is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.122 H 278.0°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#3F428D
RGBrgb(63, 66, 141)
HSLhsl(238, 38%, 40%)
HSVhsv(238, 55%, 55%)
CMYKcmyk(55.3%, 53.2%, 0%, 44.7%)
CIE-LABlab(31.52, 21.40, -42.24)
CIE-LCHlch(31.52, 47.35, 296.87°)
OKLaboklab(41.81% 0.017 -0.1207)
OKLCHoklch(41.81% 0.122 278)
XYZxyz(8.8043, 6.8757, 26.0573)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F428D #8D8A3F
analogous
#3F698D #3F428D #633F8D
triadic
#3F428D #8D3F42 #428D3F
tetradic
#3F428D #8D3F69 #8D8A3F #3F8D63
square
#3F428D #8D3F69 #8D8A3F #3F8D63
split-complementary
#3F428D #8D633F #698D3F
monochromatic
#191A38 #2C2E63 #3F428D #5659B3 #8083C6

Accessibility & contrast

On white

8.84
#3F428D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F428D
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F428D#FFFFFF#000000##FFFFFF
##3F428D1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4D90
Deuteranopia (green-blind)
#0E478B
Tritanopia (blue-blind)
#1A5361
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3f428d;
/* rgb */ color: rgb(63, 66, 141);
/* oklch */ color: oklch(41.8% 0.122 278.0);
Tailwind
colors: {
  custom: {
    50: '#7b76af',
    500: '#3f428d',
    950: '#000000',
  },
}
SCSS
$custom: #3f428d;
$custom-light: #7b76af;
$custom-dark: #000000;
JSON
{
  "hex": "#3f428d",
  "rgb": {
    "r": 63,
    "g": 66,
    "b": 141
  },
  "hsl": {
    "h": 237.692,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.41808,
    "c": 0.12185,
    "h": 278
  },
  "luminance": 0.06876
}

Semantic roles & 50–950 ramp

primary
#3F428D
secondary
#B1AE77
accent
#CA5ACE
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0810
muted
#7C7B7F

Preview Lab

Preview with #3F428D

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

Preview Lab → · Contrast checker → · Palette generator →

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