#3F429A#3F429A

#3F429A is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.141 H 277.2°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#3F429A
RGBrgb(63, 66, 154)
HSLhsl(238, 42%, 43%)
HSVhsv(238, 59%, 60%)
CMYKcmyk(59.1%, 57.1%, 0%, 39.6%)
CIE-LABlab(32.45, 25.86, -48.68)
CIE-LCHlch(32.45, 55.12, 297.98°)
OKLaboklab(42.8% 0.0176 -0.1396)
OKLCHoklch(42.8% 0.141 277.2)
XYZxyz(9.8290, 7.2856, 31.4539)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F429A #9A973F
analogous
#3F6F9A #3F429A #6A3F9A
triadic
#3F429A #9A3F42 #429A3F
tetradic
#3F429A #9A3F6F #9A973F #3F9A6A
square
#3F429A #9A3F6F #9A973F #3F9A6A
split-complementary
#3F429A #9A6A3F #6F9A3F
monochromatic
#1B1D43 #2D2F6F #3F429A #5A5EBC #8688CD

Accessibility & contrast

On white

8.55
#3F429A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#3F429A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F429A
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F429A#FFFFFF#000000##FFFFFF
##3F429A1.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509D
Deuteranopia (green-blind)
#004998
Tritanopia (blue-blind)
#025767
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f429a;
/* rgb */ color: rgb(63, 66, 154);
/* oklch */ color: oklch(42.8% 0.141 277.2);
Tailwind
colors: {
  custom: {
    50: '#7d76b8',
    500: '#3f429a',
    950: '#000000',
  },
}
SCSS
$custom: #3f429a;
$custom-light: #7d76b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3f429a",
  "rgb": {
    "r": 63,
    "g": 66,
    "b": 154
  },
  "hsl": {
    "h": 238.022,
    "s": 41.935,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42796,
    "c": 0.14072,
    "h": 277.2
  },
  "luminance": 0.07286
}

Semantic roles & 50–950 ramp

primary
#3F429A
secondary
#B8B67D
accent
#CE56D2
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3F429A

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

Preview Lab → · Contrast checker → · Palette generator →

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