#2E4D99#2E4D99

#2E4D99 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.130 H 264.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2E4D99
RGBrgb(46, 77, 153)
HSLhsl(223, 54%, 39%)
HSVhsv(223, 70%, 60%)
CMYKcmyk(69.9%, 49.7%, 0%, 40%)
CIE-LABlab(34.37, 15.16, -45.02)
CIE-LCHlch(34.37, 47.50, 288.61°)
OKLaboklab(43.95% -0.0116 -0.1291)
OKLCHoklch(43.95% 0.13 264.9)
XYZxyz(9.5283, 8.1876, 31.2090)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D99 #997A2E
analogous
#2E8399 #2E4D99 #452E99
triadic
#2E4D99 #992E4D #4D992E
tetradic
#2E4D99 #992E83 #997A2E #2E9945
square
#2E4D99 #992E83 #997A2E #2E9945
split-complementary
#2E4D99 #99452E #83992E
monochromatic
#121E3B #20356A #2E4D99 #3F66C5 #6E8BD3

Accessibility & contrast

On white

7.96
#2E4D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2E4D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D99
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D99#FFFFFF#000000##FFFFFF
##2E4D991.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23569C
Deuteranopia (green-blind)
#044C97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4d99;
/* rgb */ color: rgb(46, 77, 153);
/* oklch */ color: oklch(44.0% 0.130 264.9);
Tailwind
colors: {
  custom: {
    50: '#747eb7',
    500: '#2e4d99',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d99;
$custom-light: #747eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d99",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 222.617,
    "s": 53.769,
    "l": 39.02
  },
  "oklch": {
    "l": 0.43953,
    "c": 0.12963,
    "h": 264.9
  },
  "luminance": 0.08189
}

Semantic roles & 50–950 ramp

primary
#2E4D99
secondary
#BBA368
accent
#B34BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4D99

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

Preview Lab → · Contrast checker → · Palette generator →

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