#3F478E#3F478E

#3F478E is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.9% C 0.116 H 275.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#3F478E
RGBrgb(63, 71, 142)
HSLhsl(234, 39%, 40%)
HSVhsv(234, 56%, 56%)
CMYKcmyk(55.6%, 50%, 0%, 44.3%)
CIE-LABlab(32.95, 18.44, -40.55)
CIE-LCHlch(32.95, 44.55, 294.45°)
OKLaboklab(42.91% 0.0112 -0.1157)
OKLCHoklch(42.91% 0.116 275.5)
XYZxyz(9.1841, 7.5156, 26.5526)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F478E #8E863F
analogous
#3F6E8E #3F478E #5E3F8E
triadic
#3F478E #8E3F47 #478E3F
tetradic
#3F478E #8E3F6E #8E863F #3F8E5E
square
#3F478E #8E3F6E #8E863F #3F8E5E
split-complementary
#3F478E #8E5E3F #6E8E3F
monochromatic
#191D39 #2C3264 #3F478E #5660B4 #8188C7

Accessibility & contrast

On white

8.39
#3F478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3F478E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F478E
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F478E#FFFFFF#000000##FFFFFF
##3F478E1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255191
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#185763
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f478e;
/* rgb */ color: rgb(63, 71, 142);
/* oklch */ color: oklch(42.9% 0.116 275.5);
Tailwind
colors: {
  custom: {
    50: '#7a7aaf',
    500: '#3f478e',
    950: '#000000',
  },
}
SCSS
$custom: #3f478e;
$custom-light: #7a7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#3f478e",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 233.924,
    "s": 38.537,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42908,
    "c": 0.1162,
    "h": 275.5
  },
  "luminance": 0.07516
}

Semantic roles & 50–950 ramp

primary
#3F478E
secondary
#B1AB78
accent
#C359CE
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3F478E

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

Preview Lab → · Contrast checker → · Palette generator →

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