#3F4C97#3F4C97

#3F4C97 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.123 H 273.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#3F4C97
RGBrgb(63, 76, 151)
HSLhsl(231, 41%, 42%)
HSVhsv(231, 58%, 59%)
CMYKcmyk(58.3%, 49.7%, 0%, 40.8%)
CIE-LABlab(34.92, 18.26, -42.87)
CIE-LCHlch(34.92, 46.60, 293.07°)
OKLaboklab(44.59% 0.0065 -0.1224)
OKLCHoklch(44.59% 0.123 273)
XYZxyz(10.2184, 8.4593, 30.3665)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4C97 #978A3F
analogous
#3F7897 #3F4C97 #5E3F97
triadic
#3F4C97 #973F4C #4C973F
tetradic
#3F4C97 #973F78 #978A3F #3F975E
square
#3F4C97 #973F78 #978A3F #3F975E
split-complementary
#3F4C97 #975E3F #78973F
monochromatic
#1B2141 #2D366C #3F4C97 #5968BA #858FCC

Accessibility & contrast

On white

7.80
#3F4C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#3F4C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4C97
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4C97#FFFFFF#000000##FFFFFF
##3F4C971.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27569A
Deuteranopia (green-blind)
#194F95
Tritanopia (blue-blind)
#055D6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3f4c97;
/* rgb */ color: rgb(63, 76, 151);
/* oklch */ color: oklch(44.6% 0.123 273.0);
Tailwind
colors: {
  custom: {
    50: '#7c7db6',
    500: '#3f4c97',
    950: '#000000',
  },
}
SCSS
$custom: #3f4c97;
$custom-light: #7c7db6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4c97",
  "rgb": {
    "r": 63,
    "g": 76,
    "b": 151
  },
  "hsl": {
    "h": 231.136,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44588,
    "c": 0.1226,
    "h": 273
  },
  "luminance": 0.0846
}

Semantic roles & 50–950 ramp

primary
#3F4C97
secondary
#B6AE7C
accent
#BF57D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3F4C97

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

Preview Lab → · Contrast checker → · Palette generator →

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