#3E4E88#3E4E88

#3E4E88 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 43.9% C 0.098 H 270.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#3E4E88
RGBrgb(62, 78, 136)
HSLhsl(227, 37%, 39%)
HSVhsv(227, 54%, 53%)
CMYKcmyk(54.4%, 42.6%, 0%, 46.7%)
CIE-LABlab(34.50, 11.52, -34.41)
CIE-LCHlch(34.50, 36.29, 288.51°)
OKLaboklab(43.95% 0.0006 -0.0976)
OKLCHoklch(43.95% 0.098 270.4)
XYZxyz(9.1535, 8.2499, 24.3978)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E88 #88783E
analogous
#3E7388 #3E4E88 #533E88
triadic
#3E4E88 #883E4E #4E883E
tetradic
#3E4E88 #883E73 #88783E #3E8853
square
#3E4E88 #883E73 #88783E #3E8853
split-complementary
#3E4E88 #88533E #73883E
monochromatic
#181E34 #2B365E #3E4E88 #5367B0 #7D8CC4

Accessibility & contrast

On white

7.92
#3E4E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#3E4E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E88
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E88#FFFFFF#000000##FFFFFF
##3E4E881.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#36558A
Deuteranopia (green-blind)
#2E4E87
Tritanopia (blue-blind)
#1A5B64
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3e4e88;
/* rgb */ color: rgb(62, 78, 136);
/* oklch */ color: oklch(43.9% 0.098 270.4);
Tailwind
colors: {
  custom: {
    50: '#797fab',
    500: '#3e4e88',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e88;
$custom-light: #797fab;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e88",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 136
  },
  "hsl": {
    "h": 227.027,
    "s": 37.374,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43948,
    "c": 0.0976,
    "h": 270.4
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#3E4E88
secondary
#AEA174
accent
#B55ACD
background
#F7F7FA
surface
#EEEEF4
border
#C9C9CE
text
#090A10
muted
#7B7C7F

Preview Lab

Preview with #3E4E88

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

Preview Lab → · Contrast checker → · Palette generator →

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