#2E4E99#2E4E99

#2E4E99 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.2% C 0.128 H 264.4°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#2E4E99
RGBrgb(46, 78, 153)
HSLhsl(222, 54%, 39%)
HSVhsv(222, 70%, 60%)
CMYKcmyk(69.9%, 49%, 0%, 40%)
CIE-LABlab(34.66, 14.49, -44.56)
CIE-LCHlch(34.66, 46.86, 288.01°)
OKLaboklab(44.17% -0.0125 -0.1277)
OKLCHoklch(44.17% 0.128 264.4)
XYZxyz(9.5989, 8.3286, 31.2325)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E99 #99792E
analogous
#2E8499 #2E4E99 #442E99
triadic
#2E4E99 #992E4E #4E992E
tetradic
#2E4E99 #992E84 #99792E #2E9944
square
#2E4E99 #992E84 #99792E #2E9944
split-complementary
#2E4E99 #99442E #84992E
monochromatic
#121E3B #20366A #2E4E99 #3F67C5 #6E8CD3

Accessibility & contrast

On white

7.88
#2E4E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2E4E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E99
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E99#FFFFFF#000000##FFFFFF
##2E4E991.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26579C
Deuteranopia (green-blind)
#0A4D97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4e99;
/* rgb */ color: rgb(46, 78, 153);
/* oklch */ color: oklch(44.2% 0.128 264.4);
Tailwind
colors: {
  custom: {
    50: '#747fb7',
    500: '#2e4e99',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e99;
$custom-light: #747fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e99",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 222.056,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.44172,
    "c": 0.12836,
    "h": 264.4
  },
  "luminance": 0.0833
}

Semantic roles & 50–950 ramp

primary
#2E4E99
secondary
#BBA268
accent
#B14BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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