#3E478E#3E478E

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

Color values

HEX#3E478E
RGBrgb(62, 71, 142)
HSLhsl(233, 39%, 40%)
HSVhsv(233, 56%, 56%)
CMYKcmyk(56.3%, 50%, 0%, 44.3%)
CIE-LABlab(32.88, 18.21, -40.67)
CIE-LCHlch(32.88, 44.56, 294.12°)
OKLaboklab(42.84% 0.01 -0.116)
OKLCHoklch(42.84% 0.116 274.9)
XYZxyz(9.1208, 7.4830, 26.5497)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E478E #8E853E
analogous
#3E6F8E #3E478E #5D3E8E
triadic
#3E478E #8E3E47 #478E3E
tetradic
#3E478E #8E3E6F #8E853E #3E8E5D
square
#3E478E #8E3E6F #8E853E #3E8E5D
split-complementary
#3E478E #8E5D3E #6F8E3E
monochromatic
#191C39 #2B3263 #3E478E #555FB5 #7F87C7

Accessibility & contrast

On white

8.41
#3E478E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E478E
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E478E#FFFFFF#000000##FFFFFF
##3E478E1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e478e;
/* rgb */ color: rgb(62, 71, 142);
/* oklch */ color: oklch(42.8% 0.116 274.9);
Tailwind
colors: {
  custom: {
    50: '#7a7aaf',
    500: '#3e478e',
    950: '#000000',
  },
}
SCSS
$custom: #3e478e;
$custom-light: #7a7aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#3e478e",
  "rgb": {
    "r": 62,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 233.25,
    "s": 39.216,
    "l": 40
  },
  "oklch": {
    "l": 0.42836,
    "c": 0.11646,
    "h": 274.9
  },
  "luminance": 0.07484
}

Semantic roles & 50–950 ramp

primary
#3E478E
secondary
#B1AB76
accent
#C259CF
background
#F7F7FA
surface
#EEEDF5
border
#C9C8CF
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3E478E

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

Preview Lab → · Contrast checker → · Palette generator →

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