#3F4898#3F4898

#3F4898 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.130 H 274.9°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#3F4898
RGBrgb(63, 72, 152)
HSLhsl(234, 41%, 42%)
HSVhsv(234, 59%, 60%)
CMYKcmyk(58.6%, 52.6%, 0%, 40.4%)
CIE-LABlab(33.89, 21.24, -45.13)
CIE-LCHlch(33.89, 49.88, 295.20°)
OKLaboklab(43.83% 0.0111 -0.1291)
OKLCHoklch(43.83% 0.13 274.9)
XYZxyz(10.0329, 7.9578, 30.7070)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4898 #988F3F
analogous
#3F7498 #3F4898 #633F98
triadic
#3F4898 #983F48 #48983F
tetradic
#3F4898 #983F74 #988F3F #3F9863
square
#3F4898 #983F74 #988F3F #3F9863
split-complementary
#3F4898 #98633F #74983F
monochromatic
#1B1F41 #2D346D #3F4898 #5A63BA #858CCC

Accessibility & contrast

On white

8.10
#3F4898 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#3F4898 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4898
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4898#FFFFFF#000000##FFFFFF
##3F48981.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#084C96
Tritanopia (blue-blind)
#045A69
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3f4898;
/* rgb */ color: rgb(63, 72, 152);
/* oklch */ color: oklch(43.8% 0.130 274.9);
Tailwind
colors: {
  custom: {
    50: '#7c7ab7',
    500: '#3f4898',
    950: '#000000',
  },
}
SCSS
$custom: #3f4898;
$custom-light: #7c7ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4898",
  "rgb": {
    "r": 63,
    "g": 72,
    "b": 152
  },
  "hsl": {
    "h": 233.933,
    "s": 41.395,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43834,
    "c": 0.12958,
    "h": 274.9
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#3F4898
secondary
#B7B17C
accent
#C557D1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80

Preview Lab

Preview with #3F4898

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

Preview Lab → · Contrast checker → · Palette generator →

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