#2E4D89#2E4D89

#2E4D89 is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.8% C 0.106 H 262.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2E4D89
RGBrgb(46, 77, 137)
HSLhsl(220, 50%, 36%)
HSVhsv(220, 66%, 54%)
CMYKcmyk(66.4%, 43.8%, 0%, 46.3%)
CIE-LABlab(33.34, 9.12, -36.93)
CIE-LCHlch(33.34, 38.04, 283.87°)
OKLaboklab(42.83% -0.0143 -0.1053)
OKLCHoklch(42.83% 0.106 262.3)
XYZxyz(8.2944, 7.6940, 24.7100)
Luminance0.0770 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D89 #896A2E
analogous
#2E7A89 #2E4D89 #3C2E89
triadic
#2E4D89 #892E4D #4D892E
tetradic
#2E4D89 #892E7A #896A2E #2E893C
square
#2E4D89 #892E7A #896A2E #2E893C
split-complementary
#2E4D89 #893C2E #7A892E
monochromatic
#0F192D #1F335B #2E4D89 #3D67B7 #6688CC

Accessibility & contrast

On white

8.27
#2E4D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2E4D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D89
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D89#FFFFFF#000000##FFFFFF
##2E4D891.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538B
Deuteranopia (green-blind)
#234B88
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4d89;
/* rgb */ color: rgb(46, 77, 137);
/* oklch */ color: oklch(42.8% 0.106 262.3);
Tailwind
colors: {
  custom: {
    50: '#717eac',
    500: '#2e4d89',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d89;
$custom-light: #717eac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d89",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 137
  },
  "hsl": {
    "h": 219.56,
    "s": 49.727,
    "l": 35.882
  },
  "oklch": {
    "l": 0.42827,
    "c": 0.10629,
    "h": 262.3
  },
  "luminance": 0.07695
}

Semantic roles & 50–950 ramp

primary
#2E4D89
secondary
#B29660
accent
#AA4FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4D89

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

Preview Lab → · Contrast checker → · Palette generator →

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