#3F478C#3F478C

#3F478C is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.8% C 0.113 H 275.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#3F478C
RGBrgb(63, 71, 140)
HSLhsl(234, 38%, 40%)
HSVhsv(234, 55%, 55%)
CMYKcmyk(55%, 49.3%, 0%, 45.1%)
CIE-LABlab(32.82, 17.75, -39.53)
CIE-LCHlch(32.82, 43.33, 294.18°)
OKLaboklab(42.77% 0.011 -0.1127)
OKLCHoklch(42.77% 0.113 275.6)
XYZxyz(9.0353, 7.4561, 25.7689)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F478C #8C843F
analogous
#3F6E8C #3F478C #5D3F8C
triadic
#3F478C #8C3F47 #478C3F
tetradic
#3F478C #8C3F6E #8C843F #3F8C5D
square
#3F478C #8C3F6E #8C843F #3F8C5D
split-complementary
#3F478C #8C5D3F #6E8C3F
monochromatic
#191C38 #2C3262 #3F478C #555FB3 #8087C6

Accessibility & contrast

On white

8.43
#3F478C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3F478C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3F478C
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F478C#FFFFFF#000000##FFFFFF
##3F478C1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27518F
Deuteranopia (green-blind)
#1E4A8B
Tritanopia (blue-blind)
#1B5663
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3f478c;
/* rgb */ color: rgb(63, 71, 140);
/* oklch */ color: oklch(42.8% 0.113 275.6);
Tailwind
colors: {
  custom: {
    50: '#7a7aae',
    500: '#3f478c',
    950: '#000000',
  },
}
SCSS
$custom: #3f478c;
$custom-light: #7a7aae;
$custom-dark: #000000;
JSON
{
  "hex": "#3f478c",
  "rgb": {
    "r": 63,
    "g": 71,
    "b": 140
  },
  "hsl": {
    "h": 233.766,
    "s": 37.931,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42768,
    "c": 0.11319,
    "h": 275.6
  },
  "luminance": 0.07457
}

Semantic roles & 50–950 ramp

primary
#3F478C
secondary
#B0AA77
accent
#C25ACE
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3F478C

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

Preview Lab → · Contrast checker → · Palette generator →

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