#3F478F#3F478F

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

Color values

HEX#3F478F
RGBrgb(63, 71, 143)
HSLhsl(234, 39%, 40%)
HSVhsv(234, 56%, 56%)
CMYKcmyk(55.9%, 50.3%, 0%, 43.9%)
CIE-LABlab(33.02, 18.78, -41.06)
CIE-LCHlch(33.02, 45.15, 294.58°)
OKLaboklab(42.98% 0.0113 -0.1171)
OKLCHoklch(42.98% 0.118 275.5)
XYZxyz(9.2595, 7.5458, 26.9498)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F478F #8F873F
analogous
#3F6F8F #3F478F #5F3F8F
triadic
#3F478F #8F3F47 #478F3F
tetradic
#3F478F #8F3F6F #8F873F #3F8F5F
square
#3F478F #8F3F6F #8F873F #3F8F5F
split-complementary
#3F478F #8F5F3F #6F8F3F
monochromatic
#1A1D3A #2C3265 #3F478F #5660B5 #8188C7

Accessibility & contrast

On white

8.37
#3F478F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3F478F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F478F
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F478F#FFFFFF#000000##FFFFFF
##3F478F1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245192
Deuteranopia (green-blind)
#194A8D
Tritanopia (blue-blind)
#175764
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3f478f;
/* rgb */ color: rgb(63, 71, 143);
/* oklch */ color: oklch(43.0% 0.118 275.5);
Tailwind
colors: {
  custom: {
    50: '#7b7ab0',
    500: '#3f478f',
    950: '#000000',
  },
}
SCSS
$custom: #3f478f;
$custom-light: #7b7ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#3f478f",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 234,
    "s": 38.835,
    "l": 40.392
  },
  "oklch": {
    "l": 0.42979,
    "c": 0.1177,
    "h": 275.5
  },
  "luminance": 0.07546
}

Semantic roles & 50–950 ramp

primary
#3F478F
secondary
#B2AC78
accent
#C359CF
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3F478F

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

Preview Lab → · Contrast checker → · Palette generator →

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