#3F429F#3F429F

#3F429F is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.2% C 0.148 H 276.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#3F429F
RGBrgb(63, 66, 159)
HSLhsl(238, 43%, 44%)
HSVhsv(238, 60%, 62%)
CMYKcmyk(60.4%, 58.5%, 0%, 37.6%)
CIE-LABlab(32.82, 27.58, -51.10)
CIE-LCHlch(32.82, 58.07, 298.36°)
OKLaboklab(43.19% 0.0177 -0.1467)
OKLCHoklch(43.19% 0.148 276.9)
XYZxyz(10.2541, 7.4556, 33.6929)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F429F #9F9C3F
analogous
#3F729F #3F429F #6C3F9F
triadic
#3F429F #9F3F42 #429F3F
tetradic
#3F429F #9F3F72 #9F9C3F #3F9F6C
square
#3F429F #9F3F72 #9F9C3F #3F9F6C
split-complementary
#3F429F #9F6C3F #729F3F
monochromatic
#1C1E47 #2E3073 #3F429F #5D60BF #888BD0

Accessibility & contrast

On white

8.43
#3F429F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3F429F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F429F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F429F#FFFFFF#000000##FFFFFF
##3F429F1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f429f;
/* rgb */ color: rgb(63, 66, 159);
/* oklch */ color: oklch(43.2% 0.148 276.9);
Tailwind
colors: {
  custom: {
    50: '#7e76bc',
    500: '#3f429f',
    950: '#000000',
  },
}
SCSS
$custom: #3f429f;
$custom-light: #7e76bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3f429f",
  "rgb": {
    "r": 63,
    "g": 66,
    "b": 159
  },
  "hsl": {
    "h": 238.125,
    "s": 43.243,
    "l": 43.529
  },
  "oklch": {
    "l": 0.43192,
    "c": 0.14779,
    "h": 276.9
  },
  "luminance": 0.07456
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F429F

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

Preview Lab → · Contrast checker → · Palette generator →

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