#3F429E#3F429E

#3F429E is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.146 H 276.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3F429E
RGBrgb(63, 66, 158)
HSLhsl(238, 43%, 43%)
HSVhsv(238, 60%, 62%)
CMYKcmyk(60.1%, 58.2%, 0%, 38%)
CIE-LABlab(32.75, 27.24, -50.62)
CIE-LCHlch(32.75, 57.48, 298.29°)
OKLaboklab(43.11% 0.0177 -0.1453)
OKLCHoklch(43.11% 0.146 276.9)
XYZxyz(10.1677, 7.4211, 33.2377)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F429E #9E9B3F
analogous
#3F719E #3F429E #6B3F9E
triadic
#3F429E #9E3F42 #429E3F
tetradic
#3F429E #9E3F71 #9E9B3F #3F9E6B
square
#3F429E #9E3F71 #9E9B3F #3F9E6B
split-complementary
#3F429E #9E6B3F #719E3F
monochromatic
#1C1D46 #2E3072 #3F429E #5C5FBE #888AD0

Accessibility & contrast

On white

8.45
#3F429E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#3F429E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F429E
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F429E#FFFFFF#000000##FFFFFF
##3F429E1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f429e;
/* rgb */ color: rgb(63, 66, 158);
/* oklch */ color: oklch(43.1% 0.146 276.9);
Tailwind
colors: {
  custom: {
    50: '#7e76bb',
    500: '#3f429e',
    950: '#000000',
  },
}
SCSS
$custom: #3f429e;
$custom-light: #7e76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f429e",
  "rgb": {
    "r": 63,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 238.105,
    "s": 42.986,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43112,
    "c": 0.14639,
    "h": 276.9
  },
  "luminance": 0.07422
}

Semantic roles & 50–950 ramp

primary
#3F429E
secondary
#BAB87F
accent
#CF55D3
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0812
muted
#7C7B81

Preview Lab

Preview with #3F429E

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

Preview Lab → · Contrast checker → · Palette generator →

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