#2E4387#2E4387

#2E4387 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.4% C 0.116 H 268.0°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2E4387
RGBrgb(46, 67, 135)
HSLhsl(226, 49%, 35%)
HSVhsv(226, 66%, 53%)
CMYKcmyk(65.9%, 50.4%, 0%, 47.1%)
CIE-LABlab(30.26, 15.10, -40.62)
CIE-LCHlch(30.26, 43.34, 290.39°)
OKLaboklab(40.43% -0.0041 -0.1163)
OKLCHoklch(40.43% 0.116 268)
XYZxyz(7.5055, 6.3437, 23.7459)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4387 #87722E
analogous
#2E6F87 #2E4387 #462E87
triadic
#2E4387 #872E43 #43872E
tetradic
#2E4387 #872E6F #87722E #2E8746
square
#2E4387 #872E6F #87722E #2E8746
split-complementary
#2E4387 #87462E #6F872E
monochromatic
#0F162C #1E2C59 #2E4387 #3E5AB5 #657DCA

Accessibility & contrast

On white

9.26
#2E4387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2E4387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4387
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4387#FFFFFF#000000##FFFFFF
##2E43871.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B89
Deuteranopia (green-blind)
#0A4386
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4387;
/* rgb */ color: rgb(46, 67, 135);
/* oklch */ color: oklch(40.4% 0.116 268.0);
Tailwind
colors: {
  custom: {
    50: '#7176aa',
    500: '#2e4387',
    950: '#000000',
  },
}
SCSS
$custom: #2e4387;
$custom-light: #7176aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4387",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 225.843,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4043,
    "c": 0.11639,
    "h": 268
  },
  "luminance": 0.06344
}

Semantic roles & 50–950 ramp

primary
#2E4387
secondary
#B19E60
accent
#B84FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E4387

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

Preview Lab → · Contrast checker → · Palette generator →

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