#3E478D#3E478D

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

Color values

HEX#3E478D
RGBrgb(62, 71, 141)
HSLhsl(233, 39%, 40%)
HSVhsv(233, 56%, 55%)
CMYKcmyk(56%, 49.6%, 0%, 44.7%)
CIE-LABlab(32.82, 17.87, -40.16)
CIE-LCHlch(32.82, 43.96, 293.98°)
OKLaboklab(42.77% 0.0099 -0.1145)
OKLCHoklch(42.77% 0.115 274.9)
XYZxyz(9.0460, 7.4531, 26.1560)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E478D #8D843E
analogous
#3E6E8D #3E478D #5D3E8D
triadic
#3E478D #8D3E47 #478D3E
tetradic
#3E478D #8D3E6E #8D843E #3E8D5D
square
#3E478D #8D3E6E #8D843E #3E8D5D
split-complementary
#3E478D #8D5D3E #6E8D3E
monochromatic
#191C38 #2B3262 #3E478D #545FB4 #7F87C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E478D#FFFFFF#000000##FFFFFF
##3E478D1.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)
#265190
Deuteranopia (green-blind)
#1B4A8B
Tritanopia (blue-blind)
#165763
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3e478d;
/* rgb */ color: rgb(62, 71, 141);
/* oklch */ color: oklch(42.8% 0.115 274.9);
Tailwind
colors: {
  custom: {
    50: '#7a7aaf',
    500: '#3e478d',
    950: '#000000',
  },
}
SCSS
$custom: #3e478d;
$custom-light: #7a7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e478d",
  "rgb": {
    "r": 62,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 233.165,
    "s": 38.916,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42766,
    "c": 0.11496,
    "h": 274.9
  },
  "luminance": 0.07454
}

Semantic roles & 50–950 ramp

primary
#3E478D
secondary
#B1AA76
accent
#C159CF
background
#F7F7FA
surface
#EEEDF4
border
#C9C8CE
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3E478D

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

Preview Lab → · Contrast checker → · Palette generator →

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