#2E4D9A#2E4D9A

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

Color values

HEX#2E4D9A
RGBrgb(46, 77, 154)
HSLhsl(223, 54%, 39%)
HSVhsv(223, 70%, 60%)
CMYKcmyk(70.1%, 50%, 0%, 39.6%)
CIE-LABlab(34.44, 15.54, -45.52)
CIE-LCHlch(34.44, 48.10, 288.85°)
OKLaboklab(44.03% -0.0115 -0.1306)
OKLCHoklch(44.03% 0.131 265)
XYZxyz(9.6113, 8.2207, 31.6458)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D9A #9A7B2E
analogous
#2E839A #2E4D9A #452E9A
triadic
#2E4D9A #9A2E4D #4D9A2E
tetradic
#2E4D9A #9A2E83 #9A7B2E #2E9A45
square
#2E4D9A #9A2E83 #9A7B2E #2E9A45
split-complementary
#2E4D9A #9A452E #839A2E
monochromatic
#121E3C #20356B #2E4D9A #3F66C6 #6F8CD4

Accessibility & contrast

On white

7.94
#2E4D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4D9A
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D9A#FFFFFF#000000##FFFFFF
##2E4D9A1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22569D
Deuteranopia (green-blind)
#014C98
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4d9a;
/* rgb */ color: rgb(46, 77, 154);
/* oklch */ color: oklch(44.0% 0.131 265.0);
Tailwind
colors: {
  custom: {
    50: '#747eb8',
    500: '#2e4d9a',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d9a;
$custom-light: #747eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d9a",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 154
  },
  "hsl": {
    "h": 222.778,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.44026,
    "c": 0.13107,
    "h": 265
  },
  "luminance": 0.08222
}

Semantic roles & 50–950 ramp

primary
#2E4D9A
secondary
#BBA369
accent
#B34ADD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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