#3F4D8D#3F4D8D

#3F4D8D is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.1% C 0.106 H 272.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#3F4D8D
RGBrgb(63, 77, 141)
HSLhsl(229, 38%, 40%)
HSVhsv(229, 55%, 55%)
CMYKcmyk(55.3%, 45.4%, 0%, 44.7%)
CIE-LABlab(34.57, 14.13, -37.35)
CIE-LCHlch(34.57, 39.93, 290.73°)
OKLaboklab(44.12% 0.0039 -0.1062)
OKLCHoklch(44.12% 0.106 272.1)
XYZxyz(9.5099, 8.2869, 26.2926)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4D8D #8D7F3F
analogous
#3F748D #3F4D8D #583F8D
triadic
#3F4D8D #8D3F4D #4D8D3F
tetradic
#3F4D8D #8D3F74 #8D7F3F #3F8D58
square
#3F4D8D #8D3F74 #8D7F3F #3F8D58
split-complementary
#3F4D8D #8D583F #748D3F
monochromatic
#191F38 #2C3663 #3F4D8D #5667B3 #808DC6

Accessibility & contrast

On white

7.90
#3F4D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3F4D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4D8D
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4D8D#FFFFFF#000000##FFFFFF
##3F4D8D1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31558F
Deuteranopia (green-blind)
#284E8C
Tritanopia (blue-blind)
#185B66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f4d8d;
/* rgb */ color: rgb(63, 77, 141);
/* oklch */ color: oklch(44.1% 0.106 272.1);
Tailwind
colors: {
  custom: {
    50: '#7a7eaf',
    500: '#3f4d8d',
    950: '#000000',
  },
}
SCSS
$custom: #3f4d8d;
$custom-light: #7a7eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4d8d",
  "rgb": {
    "r": 63,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 229.231,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.4412,
    "c": 0.10626,
    "h": 272.1
  },
  "luminance": 0.08288
}

Semantic roles & 50–950 ramp

primary
#3F4D8D
secondary
#B1A677
accent
#B95ACE
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3F4D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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