#3F4792#3F4792

#3F4792 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.122 H 275.5°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#3F4792
RGBrgb(63, 71, 146)
HSLhsl(234, 40%, 41%)
HSVhsv(234, 57%, 57%)
CMYKcmyk(56.8%, 51.4%, 0%, 42.7%)
CIE-LABlab(33.22, 19.82, -42.57)
CIE-LCHlch(33.22, 46.96, 294.96°)
OKLaboklab(43.19% 0.0116 -0.1216)
OKLCHoklch(43.19% 0.122 275.5)
XYZxyz(9.4898, 7.6379, 28.1628)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4792 #928A3F
analogous
#3F7092 #3F4792 #603F92
triadic
#3F4792 #923F47 #47923F
tetradic
#3F4792 #923F70 #928A3F #3F9260
square
#3F4792 #923F70 #928A3F #3F9260
split-complementary
#3F4792 #92603F #70923F
monochromatic
#1A1D3C #2D3267 #3F4792 #5761B7 #8289C9

Accessibility & contrast

On white

8.31
#3F4792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#3F4792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4792
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4792#FFFFFF#000000##FFFFFF
##3F47921.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215295
Deuteranopia (green-blind)
#144B90
Tritanopia (blue-blind)
#125865
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f4792;
/* rgb */ color: rgb(63, 71, 146);
/* oklch */ color: oklch(43.2% 0.122 275.5);
Tailwind
colors: {
  custom: {
    50: '#7b7ab2',
    500: '#3f4792',
    950: '#000000',
  },
}
SCSS
$custom: #3f4792;
$custom-light: #7b7ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4792",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 234.217,
    "s": 39.713,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43193,
    "c": 0.12216,
    "h": 275.5
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#3F4792
secondary
#B3AE79
accent
#C458D0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3F4792

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

Preview Lab → · Contrast checker → · Palette generator →

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