#2E4789#2E4789

#2E4789 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.5% C 0.114 H 266.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2E4789
RGBrgb(46, 71, 137)
HSLhsl(224, 50%, 36%)
HSVhsv(224, 66%, 54%)
CMYKcmyk(66.4%, 48.2%, 0%, 46.3%)
CIE-LABlab(31.56, 13.14, -39.77)
CIE-LCHlch(31.56, 41.89, 288.29°)
OKLaboklab(41.46% -0.008 -0.1138)
OKLCHoklch(41.46% 0.114 266)
XYZxyz(7.8937, 6.8927, 24.5765)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4789 #89702E
analogous
#2E7489 #2E4789 #422E89
triadic
#2E4789 #892E47 #47892E
tetradic
#2E4789 #892E74 #89702E #2E8942
square
#2E4789 #892E74 #89702E #2E8942
split-complementary
#2E4789 #89422E #74892E
monochromatic
#0F182D #1F2F5B #2E4789 #3D5FB7 #6682CC

Accessibility & contrast

On white

8.83
#2E4789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2E4789 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4789
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4789#FFFFFF#000000##FFFFFF
##2E47891.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264F8B
Deuteranopia (green-blind)
#144688
Tritanopia (blue-blind)
#005661
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4789;
/* rgb */ color: rgb(46, 71, 137);
/* oklch */ color: oklch(41.5% 0.114 266.0);
Tailwind
colors: {
  custom: {
    50: '#7179ac',
    500: '#2e4789',
    950: '#000000',
  },
}
SCSS
$custom: #2e4789;
$custom-light: #7179ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4789",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 137
  },
  "hsl": {
    "h": 223.516,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41463,
    "c": 0.11404,
    "h": 266
  },
  "luminance": 0.06893
}

Semantic roles & 50–950 ramp

primary
#2E4789
secondary
#B29C60
accent
#B34FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4789

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

Preview Lab → · Contrast checker → · Palette generator →

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