#3F498F#3F498F

#3F498F is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.4% C 0.115 H 274.5°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#3F498F
RGBrgb(63, 73, 143)
HSLhsl(233, 39%, 40%)
HSVhsv(233, 56%, 56%)
CMYKcmyk(55.9%, 49%, 0%, 43.9%)
CIE-LABlab(33.57, 17.46, -40.17)
CIE-LCHlch(33.57, 43.80, 293.49°)
OKLaboklab(43.4% 0.009 -0.1145)
OKLCHoklch(43.4% 0.115 274.5)
XYZxyz(9.3888, 7.8044, 26.9929)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F498F #8F853F
analogous
#3F718F #3F498F #5D3F8F
triadic
#3F498F #8F3F49 #498F3F
tetradic
#3F498F #8F3F71 #8F853F #3F8F5D
square
#3F498F #8F3F71 #8F853F #3F8F5D
split-complementary
#3F498F #8F5D3F #718F3F
monochromatic
#1A1E3A #2C3365 #3F498F #5662B5 #818AC7

Accessibility & contrast

On white

8.20
#3F498F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#3F498F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F498F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F498F#FFFFFF#000000##FFFFFF
##3F498F1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285292
Deuteranopia (green-blind)
#1E4C8D
Tritanopia (blue-blind)
#165865
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3f498f;
/* rgb */ color: rgb(63, 73, 143);
/* oklch */ color: oklch(43.4% 0.115 274.5);
Tailwind
colors: {
  custom: {
    50: '#7b7bb0',
    500: '#3f498f',
    950: '#000000',
  },
}
SCSS
$custom: #3f498f;
$custom-light: #7b7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f498f",
  "rgb": {
    "r": 63,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 232.5,
    "s": 38.835,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43398,
    "c": 0.11487,
    "h": 274.5
  },
  "luminance": 0.07805
}

Semantic roles & 50–950 ramp

primary
#3F498F
secondary
#B2AB78
accent
#C059CF
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3F498F

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

Preview Lab → · Contrast checker → · Palette generator →

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