#3F429D#3F429D

#3F429D is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.0% C 0.145 H 277.0°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#3F429D
RGBrgb(63, 66, 157)
HSLhsl(238, 43%, 43%)
HSVhsv(238, 60%, 62%)
CMYKcmyk(59.9%, 58%, 0%, 38.4%)
CIE-LABlab(32.67, 26.89, -50.14)
CIE-LCHlch(32.67, 56.89, 298.21°)
OKLaboklab(43.03% 0.0176 -0.1439)
OKLCHoklch(43.03% 0.145 277)
XYZxyz(10.0820, 7.3868, 32.7863)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F429D #9D9A3F
analogous
#3F719D #3F429D #6B3F9D
triadic
#3F429D #9D3F42 #429D3F
tetradic
#3F429D #9D3F71 #9D9A3F #3F9D6B
square
#3F429D #9D3F71 #9D9A3F #3F9D6B
split-complementary
#3F429D #9D6B3F #719D3F
monochromatic
#1C1D46 #2D3071 #3F429D #5C5FBD #878ACF

Accessibility & contrast

On white

8.48
#3F429D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F429D
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F429D#FFFFFF#000000##FFFFFF
##3F429D1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3f429d;
/* rgb */ color: rgb(63, 66, 157);
/* oklch */ color: oklch(43.0% 0.145 277.0);
Tailwind
colors: {
  custom: {
    50: '#7d76bb',
    500: '#3f429d',
    950: '#000000',
  },
}
SCSS
$custom: #3f429d;
$custom-light: #7d76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3f429d",
  "rgb": {
    "r": 63,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 238.085,
    "s": 42.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.43033,
    "c": 0.14498,
    "h": 277
  },
  "luminance": 0.07388
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3F429D

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

Preview Lab → · Contrast checker → · Palette generator →

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