#2E4591#2E4591

#2E4591 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.6% C 0.128 H 267.8°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2E4591
RGBrgb(46, 69, 145)
HSLhsl(226, 52%, 37%)
HSVhsv(226, 68%, 57%)
CMYKcmyk(68.3%, 52.4%, 0%, 43.1%)
CIE-LABlab(31.53, 17.51, -44.73)
CIE-LCHlch(31.53, 48.03, 291.38°)
OKLaboklab(41.62% -0.0049 -0.1284)
OKLCHoklch(41.62% 0.128 267.8)
XYZxyz(8.3639, 6.8806, 27.6699)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4591 #917A2E
analogous
#2E7691 #2E4591 #492E91
triadic
#2E4591 #912E45 #45912E
tetradic
#2E4591 #912E76 #917A2E #2E9149
square
#2E4591 #912E76 #917A2E #2E9149
split-complementary
#2E4591 #91492E #76912E
monochromatic
#111934 #1F2F63 #2E4591 #3D5BBF #6A81D0

Accessibility & contrast

On white

8.84
#2E4591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4591
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4591#FFFFFF#000000##FFFFFF
##2E45911.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F94
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4591;
/* rgb */ color: rgb(46, 69, 145);
/* oklch */ color: oklch(41.6% 0.128 267.8);
Tailwind
colors: {
  custom: {
    50: '#7378b2',
    500: '#2e4591',
    950: '#000000',
  },
}
SCSS
$custom: #2e4591;
$custom-light: #7378b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4591",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 226.061,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41618,
    "c": 0.12846,
    "h": 267.8
  },
  "luminance": 0.06881
}

Semantic roles & 50–950 ramp

primary
#2E4591
secondary
#B7A364
accent
#BA4DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4591

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

Preview Lab → · Contrast checker → · Palette generator →

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