#2E4E91#2E4E91

#2E4E91 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.6% C 0.117 H 263.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2E4E91
RGBrgb(46, 78, 145)
HSLhsl(221, 52%, 37%)
HSVhsv(221, 68%, 57%)
CMYKcmyk(68.3%, 46.2%, 0%, 43.1%)
CIE-LABlab(34.13, 11.46, -40.54)
CIE-LCHlch(34.13, 42.13, 285.79°)
OKLaboklab(43.6% -0.0138 -0.1159)
OKLCHoklch(43.6% 0.117 263.2)
XYZxyz(8.9601, 8.0731, 27.8686)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E91 #91712E
analogous
#2E7F91 #2E4E91 #402E91
triadic
#2E4E91 #912E4E #4E912E
tetradic
#2E4E91 #912E7F #91712E #2E9140
square
#2E4E91 #912E7F #91712E #2E9140
split-complementary
#2E4E91 #91402E #7F912E
monochromatic
#111C34 #1F3563 #2E4E91 #3D67BF #6A8BD0

Accessibility & contrast

On white

8.03
#2E4E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2E4E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E91
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E91#FFFFFF#000000##FFFFFF
##2E4E911.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5594
Deuteranopia (green-blind)
#1B4C90
Tritanopia (blue-blind)
#005D68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4e91;
/* rgb */ color: rgb(46, 78, 145);
/* oklch */ color: oklch(43.6% 0.117 263.2);
Tailwind
colors: {
  custom: {
    50: '#727fb2',
    500: '#2e4e91',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e91;
$custom-light: #727fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e91",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 220.606,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.43603,
    "c": 0.11675,
    "h": 263.2
  },
  "luminance": 0.08074
}

Semantic roles & 50–950 ramp

primary
#2E4E91
secondary
#B79C64
accent
#AD4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E4E91

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

Preview Lab → · Contrast checker → · Palette generator →

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