#3F4497#3F4497

#3F4497 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.0% C 0.134 H 276.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3F4497
RGBrgb(63, 68, 151)
HSLhsl(237, 41%, 42%)
HSVhsv(237, 58%, 59%)
CMYKcmyk(58.3%, 55%, 0%, 40.8%)
CIE-LABlab(32.75, 23.52, -46.36)
CIE-LCHlch(32.75, 51.99, 296.90°)
OKLaboklab(42.96% 0.0154 -0.1328)
OKLCHoklch(42.96% 0.134 276.6)
XYZxyz(9.7011, 7.4247, 30.1941)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4497 #97923F
analogous
#3F7097 #3F4497 #663F97
triadic
#3F4497 #973F44 #44973F
tetradic
#3F4497 #973F70 #97923F #3F9766
square
#3F4497 #973F70 #97923F #3F9766
split-complementary
#3F4497 #97663F #70973F
monochromatic
#1B1D41 #2D316C #3F4497 #595FBA #8589CC

Accessibility & contrast

On white

8.45
#3F4497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3F4497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4497
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4497#FFFFFF#000000##FFFFFF
##3F44971.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10519A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#095767
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f4497;
/* rgb */ color: rgb(63, 68, 151);
/* oklch */ color: oklch(43.0% 0.134 276.6);
Tailwind
colors: {
  custom: {
    50: '#7c77b6',
    500: '#3f4497',
    950: '#000000',
  },
}
SCSS
$custom: #3f4497;
$custom-light: #7c77b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4497",
  "rgb": {
    "r": 63,
    "g": 68,
    "b": 151
  },
  "hsl": {
    "h": 236.591,
    "s": 41.121,
    "l": 41.961
  },
  "oklch": {
    "l": 0.42956,
    "c": 0.13367,
    "h": 276.6
  },
  "luminance": 0.07425
}

Semantic roles & 50–950 ramp

primary
#3F4497
secondary
#B6B37C
accent
#CA57D1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0811
muted
#7C7B80

Preview Lab

Preview with #3F4497

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

Preview Lab → · Contrast checker → · Palette generator →

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