#2E4491#2E4491

#2E4491 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.4% C 0.130 H 268.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2E4491
RGBrgb(46, 68, 145)
HSLhsl(227, 52%, 37%)
HSVhsv(227, 68%, 57%)
CMYKcmyk(68.3%, 53.1%, 0%, 43.1%)
CIE-LABlab(31.25, 18.19, -45.18)
CIE-LCHlch(31.25, 48.71, 291.92°)
OKLaboklab(41.4% -0.004 -0.1297)
OKLCHoklch(41.4% 0.13 268.3)
XYZxyz(8.3029, 6.7586, 27.6496)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4491 #917B2E
analogous
#2E7591 #2E4491 #4A2E91
triadic
#2E4491 #912E44 #44912E
tetradic
#2E4491 #912E75 #917B2E #2E914A
square
#2E4491 #912E75 #917B2E #2E914A
split-complementary
#2E4491 #914A2E #75912E
monochromatic
#111834 #1F2E63 #2E4491 #3D5ABF #6A80D0

Accessibility & contrast

On white

8.93
#2E4491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E4491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4491
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4491#FFFFFF#000000##FFFFFF
##2E44911.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144E94
Deuteranopia (green-blind)
#00458F
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4491;
/* rgb */ color: rgb(46, 68, 145);
/* oklch */ color: oklch(41.4% 0.130 268.3);
Tailwind
colors: {
  custom: {
    50: '#7377b2',
    500: '#2e4491',
    950: '#000000',
  },
}
SCSS
$custom: #2e4491;
$custom-light: #7377b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4491",
  "rgb": {
    "r": 46,
    "g": 68,
    "b": 145
  },
  "hsl": {
    "h": 226.667,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.41404,
    "c": 0.12979,
    "h": 268.3
  },
  "luminance": 0.06759
}

Semantic roles & 50–950 ramp

primary
#2E4491
secondary
#B7A464
accent
#BC4DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4491

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

Preview Lab → · Contrast checker → · Palette generator →

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