#3F4397#3F4397

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

Color values

HEX#3F4397
RGBrgb(63, 67, 151)
HSLhsl(237, 41%, 42%)
HSVhsv(237, 58%, 59%)
CMYKcmyk(58.3%, 55.6%, 0%, 40.8%)
CIE-LABlab(32.49, 24.17, -46.79)
CIE-LCHlch(32.49, 52.66, 297.32°)
OKLaboklab(42.76% 0.0164 -0.134)
OKLCHoklch(42.76% 0.135 277)
XYZxyz(9.6412, 7.3048, 30.1741)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4397 #97933F
analogous
#3F6F97 #3F4397 #673F97
triadic
#3F4397 #973F43 #43973F
tetradic
#3F4397 #973F6F #97933F #3F9767
square
#3F4397 #973F6F #97933F #3F9767
split-complementary
#3F4397 #97673F #6F973F
monochromatic
#1B1D41 #2D306C #3F4397 #595EBA #8588CC

Accessibility & contrast

On white

8.53
#3F4397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3F4397
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4397#FFFFFF#000000##FFFFFF
##3F43971.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B509A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#095666
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3f4397;
/* rgb */ color: rgb(63, 67, 151);
/* oklch */ color: oklch(42.8% 0.135 277.0);
Tailwind
colors: {
  custom: {
    50: '#7c77b6',
    500: '#3f4397',
    950: '#000000',
  },
}
SCSS
$custom: #3f4397;
$custom-light: #7c77b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4397",
  "rgb": {
    "r": 63,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 237.273,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42758,
    "c": 0.13504,
    "h": 277
  },
  "luminance": 0.07305
}

Semantic roles & 50–950 ramp

primary
#3F4397
secondary
#B6B47C
accent
#CB57D1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3F4397

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

Preview Lab → · Contrast checker → · Palette generator →

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