#3F4797#3F4797

#3F4797 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.130 H 275.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#3F4797
RGBrgb(63, 71, 151)
HSLhsl(235, 41%, 42%)
HSVhsv(235, 58%, 59%)
CMYKcmyk(58.3%, 53%, 0%, 40.8%)
CIE-LABlab(33.56, 21.55, -45.07)
CIE-LCHlch(33.56, 49.96, 295.55°)
OKLaboklab(43.56% 0.0121 -0.1289)
OKLCHoklch(43.56% 0.13 275.4)
XYZxyz(9.8872, 7.7969, 30.2561)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4797 #978F3F
analogous
#3F7397 #3F4797 #633F97
triadic
#3F4797 #973F47 #47973F
tetradic
#3F4797 #973F73 #978F3F #3F9763
square
#3F4797 #973F73 #978F3F #3F9763
split-complementary
#3F4797 #97633F #73973F
monochromatic
#1B1E41 #2D336C #3F4797 #5962BA #858BCC

Accessibility & contrast

On white

8.20
#3F4797 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3F4797 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4797
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4797#FFFFFF#000000##FFFFFF
##3F47971.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A539A
Deuteranopia (green-blind)
#064B95
Tritanopia (blue-blind)
#075968
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f4797;
/* rgb */ color: rgb(63, 71, 151);
/* oklch */ color: oklch(43.6% 0.130 275.4);
Tailwind
colors: {
  custom: {
    50: '#7c7ab6',
    500: '#3f4797',
    950: '#000000',
  },
}
SCSS
$custom: #3f4797;
$custom-light: #7c7ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4797",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 234.545,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.43557,
    "c": 0.1295,
    "h": 275.4
  },
  "luminance": 0.07798
}

Semantic roles & 50–950 ramp

primary
#3F4797
secondary
#B6B17C
accent
#C657D1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3F4797

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

Preview Lab → · Contrast checker → · Palette generator →

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