#3E4C8F#3E4C8F

#3E4C8F is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.0% C 0.111 H 272.2°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#3E4C8F
RGBrgb(62, 76, 143)
HSLhsl(230, 40%, 40%)
HSVhsv(230, 57%, 56%)
CMYKcmyk(56.6%, 46.9%, 0%, 43.9%)
CIE-LABlab(34.35, 15.26, -38.94)
CIE-LCHlch(34.35, 41.82, 291.40°)
OKLaboklab(43.97% 0.0043 -0.1109)
OKLCHoklch(43.97% 0.111 272.2)
XYZxyz(9.5274, 8.1755, 27.0573)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4C8F #8F813E
analogous
#3E748F #3E4C8F #593E8F
triadic
#3E4C8F #8F3E4C #4C8F3E
tetradic
#3E4C8F #8F3E74 #8F813E #3E8F59
square
#3E4C8F #8F3E74 #8F813E #3E8F59
split-complementary
#3E4C8F #8F593E #748F3E
monochromatic
#191F3A #2B3564 #3E4C8F #5566B5 #808CC8

Accessibility & contrast

On white

7.97
#3E4C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3E4C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4C8F
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4C8F#FFFFFF#000000##FFFFFF
##3E4C8F1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5492
Deuteranopia (green-blind)
#244D8E
Tritanopia (blue-blind)
#125B66
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e4c8f;
/* rgb */ color: rgb(62, 76, 143);
/* oklch */ color: oklch(44.0% 0.111 272.2);
Tailwind
colors: {
  custom: {
    50: '#7a7db0',
    500: '#3e4c8f',
    950: '#000000',
  },
}
SCSS
$custom: #3e4c8f;
$custom-light: #7a7db0;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4c8f",
  "rgb": {
    "r": 62,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 229.63,
    "s": 39.512,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43968,
    "c": 0.11097,
    "h": 272.2
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#3E4C8F
secondary
#B2A877
accent
#BB58CF
background
#F7F7FA
surface
#EEEEF5
border
#C9C9CF
text
#0A0910
muted
#7C7B7F

Preview Lab

Preview with #3E4C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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