#3F4097#3F4097

#3F4097 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.139 H 278.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#3F4097
RGBrgb(63, 64, 151)
HSLhsl(239, 41%, 42%)
HSVhsv(239, 58%, 59%)
CMYKcmyk(58.3%, 57.6%, 0%, 40.8%)
CIE-LABlab(31.71, 26.13, -48.05)
CIE-LCHlch(31.71, 54.70, 298.54°)
OKLaboklab(42.18% 0.0197 -0.1378)
OKLCHoklch(42.18% 0.139 278.1)
XYZxyz(9.4674, 6.9573, 30.1162)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4097 #97963F
analogous
#3F6C97 #3F4097 #6A3F97
triadic
#3F4097 #973F40 #40973F
tetradic
#3F4097 #973F6C #97963F #3F976A
square
#3F4097 #973F6C #97963F #3F976A
split-complementary
#3F4097 #976A3F #6C973F
monochromatic
#1B1B41 #2D2E6C #3F4097 #595ABA #8585CC

Accessibility & contrast

On white

8.78
#3F4097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#3F4097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4097
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4097#FFFFFF#000000##FFFFFF
##3F40971.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#0A5465
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3f4097;
/* rgb */ color: rgb(63, 64, 151);
/* oklch */ color: oklch(42.2% 0.139 278.1);
Tailwind
colors: {
  custom: {
    50: '#7c75b6',
    500: '#3f4097',
    950: '#000000',
  },
}
SCSS
$custom: #3f4097;
$custom-light: #7c75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4097",
  "rgb": {
    "r": 63,
    "g": 64,
    "b": 151
  },
  "hsl": {
    "h": 239.318,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42176,
    "c": 0.13918,
    "h": 278.1
  },
  "luminance": 0.06958
}

Semantic roles & 50–950 ramp

primary
#3F4097
secondary
#B6B67C
accent
#D057D1
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3F4097

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

Preview Lab → · Contrast checker → · Palette generator →

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