#3E4E8A#3E4E8A

#3E4E8A is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.1% C 0.101 H 270.6°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#3E4E8A
RGBrgb(62, 78, 138)
HSLhsl(227, 38%, 39%)
HSVhsv(227, 55%, 54%)
CMYKcmyk(55.1%, 43.5%, 0%, 45.9%)
CIE-LABlab(34.61, 12.21, -35.45)
CIE-LCHlch(34.61, 37.49, 289.00°)
OKLaboklab(44.08% 0.001 -0.1006)
OKLCHoklch(44.08% 0.101 270.6)
XYZxyz(9.2969, 8.3072, 25.1534)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E8A #8A7A3E
analogous
#3E748A #3E4E8A #543E8A
triadic
#3E4E8A #8A3E4E #4E8A3E
tetradic
#3E4E8A #8A3E74 #8A7A3E #3E8A54
square
#3E4E8A #8A3E74 #8A7A3E #3E8A54
split-complementary
#3E4E8A #8A543E #748A3E
monochromatic
#181E36 #2B3660 #3E4E8A #5367B2 #7E8DC5

Accessibility & contrast

On white

7.89
#3E4E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#3E4E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E8A
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E8A#FFFFFF#000000##FFFFFF
##3E4E8A1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558C
Deuteranopia (green-blind)
#2C4E89
Tritanopia (blue-blind)
#185B65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e4e8a;
/* rgb */ color: rgb(62, 78, 138);
/* oklch */ color: oklch(44.1% 0.101 270.6);
Tailwind
colors: {
  custom: {
    50: '#797fac',
    500: '#3e4e8a',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e8a;
$custom-light: #797fac;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e8a",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 138
  },
  "hsl": {
    "h": 227.368,
    "s": 38,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44076,
    "c": 0.10065,
    "h": 270.6
  },
  "luminance": 0.08308
}

Semantic roles & 50–950 ramp

primary
#3E4E8A
secondary
#AFA375
accent
#B65ACE
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3E4E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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