#3E4E99#3E4E99

#3E4E99 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.123 H 271.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#3E4E99
RGBrgb(62, 78, 153)
HSLhsl(229, 42%, 42%)
HSVhsv(229, 59%, 60%)
CMYKcmyk(59.5%, 49%, 0%, 40%)
CIE-LABlab(35.54, 17.44, -43.09)
CIE-LCHlch(35.54, 46.49, 292.03°)
OKLaboklab(45.08% 0.0034 -0.1231)
OKLCHoklch(45.08% 0.123 271.6)
XYZxyz(10.4589, 8.7720, 31.2728)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E4E99 #99893E
analogous
#3E7B99 #3E4E99 #5C3E99
triadic
#3E4E99 #993E4E #4E993E
tetradic
#3E4E99 #993E7B #99893E #3E995C
square
#3E4E99 #993E7B #99893E #3E995C
split-complementary
#3E4E99 #995C3E #7B993E
monochromatic
#1B2242 #2C386D #3E4E99 #596ABC #8491CD

Accessibility & contrast

On white

7.62
#3E4E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#3E4E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E4E99
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E4E99#FFFFFF#000000##FFFFFF
##3E4E991.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29589C
Deuteranopia (green-blind)
#1B5097
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3e4e99;
/* rgb */ color: rgb(62, 78, 153);
/* oklch */ color: oklch(45.1% 0.123 271.6);
Tailwind
colors: {
  custom: {
    50: '#7b7fb7',
    500: '#3e4e99',
    950: '#000000',
  },
}
SCSS
$custom: #3e4e99;
$custom-light: #7b7fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e4e99",
  "rgb": {
    "r": 62,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 229.451,
    "s": 42.326,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45083,
    "c": 0.12313,
    "h": 271.6
  },
  "luminance": 0.08773
}

Semantic roles & 50–950 ramp

primary
#3E4E99
secondary
#B8AD7B
accent
#BC56D2
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80

Preview Lab

Preview with #3E4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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