#3F4C8D#3F4C8D

#3F4C8D is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.9% C 0.108 H 272.7°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#3F4C8D
RGBrgb(63, 76, 141)
HSLhsl(230, 38%, 40%)
HSVhsv(230, 55%, 55%)
CMYKcmyk(55.3%, 46.1%, 0%, 44.7%)
CIE-LABlab(34.29, 14.79, -37.80)
CIE-LCHlch(34.29, 40.59, 291.37°)
OKLaboklab(43.9% 0.0051 -0.1075)
OKLCHoklch(43.9% 0.108 272.7)
XYZxyz(9.4405, 8.1481, 26.2694)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F4C8D #8D803F
analogous
#3F738D #3F4C8D #593F8D
triadic
#3F4C8D #8D3F4C #4C8D3F
tetradic
#3F4C8D #8D3F73 #8D803F #3F8D59
square
#3F4C8D #8D3F73 #8D803F #3F8D59
split-complementary
#3F4C8D #8D593F #738D3F
monochromatic
#191E38 #2C3563 #3F4C8D #5665B3 #808CC6

Accessibility & contrast

On white

7.99
#3F4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#3F4C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F4C8D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F4C8D#FFFFFF#000000##FFFFFF
##3F4C8D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#264D8C
Tritanopia (blue-blind)
#185A65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3f4c8d;
/* rgb */ color: rgb(63, 76, 141);
/* oklch */ color: oklch(43.9% 0.108 272.7);
Tailwind
colors: {
  custom: {
    50: '#7a7daf',
    500: '#3f4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #3f4c8d;
$custom-light: #7a7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f4c8d",
  "rgb": {
    "r": 63,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 230,
    "s": 38.235,
    "l": 40
  },
  "oklch": {
    "l": 0.43903,
    "c": 0.10765,
    "h": 272.7
  },
  "luminance": 0.08149
}

Semantic roles & 50–950 ramp

primary
#3F4C8D
secondary
#B1A777
accent
#BB5ACE
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3F4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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