#2E4388#2E4388

#2E4388 is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.5% C 0.118 H 268.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2E4388
RGBrgb(46, 67, 136)
HSLhsl(226, 49%, 36%)
HSVhsv(226, 66%, 53%)
CMYKcmyk(66.2%, 50.7%, 0%, 46.7%)
CIE-LABlab(30.33, 15.48, -41.13)
CIE-LCHlch(30.33, 43.94, 290.62°)
OKLaboklab(40.5% -0.004 -0.1178)
OKLCHoklch(40.5% 0.118 268.1)
XYZxyz(7.5763, 6.3720, 24.1184)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4388 #88732E
analogous
#2E7088 #2E4388 #462E88
triadic
#2E4388 #882E43 #43882E
tetradic
#2E4388 #882E70 #88732E #2E8846
square
#2E4388 #882E70 #88732E #2E8846
split-complementary
#2E4388 #88462E #70882E
monochromatic
#0F162D #1F2C5A #2E4388 #3D5AB6 #657DCB

Accessibility & contrast

On white

9.23
#2E4388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4388
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4388#FFFFFF#000000##FFFFFF
##2E43881.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4C8B
Deuteranopia (green-blind)
#074487
Tritanopia (blue-blind)
#00535F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e4388;
/* rgb */ color: rgb(46, 67, 136);
/* oklch */ color: oklch(40.5% 0.118 268.1);
Tailwind
colors: {
  custom: {
    50: '#7176ab',
    500: '#2e4388',
    950: '#000000',
  },
}
SCSS
$custom: #2e4388;
$custom-light: #7176ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4388",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 136
  },
  "hsl": {
    "h": 226,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.40504,
    "c": 0.11789,
    "h": 268.1
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#2E4388
secondary
#B29F60
accent
#B94FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E4388

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

Preview Lab → · Contrast checker → · Palette generator →

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