#2E5491#2E5491

#2E5491 is a dark, moderate blue. Relative luminance 0.090; OKLCH L 45.0% C 0.109 H 259.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2E5491
RGBrgb(46, 84, 145)
HSLhsl(217, 52%, 37%)
HSVhsv(217, 68%, 57%)
CMYKcmyk(68.3%, 42.1%, 0%, 43.1%)
CIE-LABlab(35.92, 7.49, -37.70)
CIE-LCHlch(35.92, 38.44, 281.24°)
OKLaboklab(44.98% -0.02 -0.1075)
OKLCHoklch(44.98% 0.109 259.5)
XYZxyz(9.4060, 8.9649, 28.0173)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5491 #916B2E
analogous
#2E8591 #2E5491 #3A2E91
triadic
#2E5491 #912E54 #54912E
tetradic
#2E5491 #912E85 #916B2E #2E913A
square
#2E5491 #912E85 #916B2E #2E913A
split-complementary
#2E5491 #913A2E #85912E
monochromatic
#111E34 #1F3963 #2E5491 #3D6FBF #6A91D0

Accessibility & contrast

On white

7.52
#2E5491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2E5491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5491
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5491#FFFFFF#000000##FFFFFF
##2E54911.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385993
Deuteranopia (green-blind)
#295090
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e5491;
/* rgb */ color: rgb(46, 84, 145);
/* oklch */ color: oklch(45.0% 0.109 259.5);
Tailwind
colors: {
  custom: {
    50: '#7283b1',
    500: '#2e5491',
    950: '#000000',
  },
}
SCSS
$custom: #2e5491;
$custom-light: #7283b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5491",
  "rgb": {
    "r": 46,
    "g": 84,
    "b": 145
  },
  "hsl": {
    "h": 216.97,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44978,
    "c": 0.10932,
    "h": 259.5
  },
  "luminance": 0.08966
}

Semantic roles & 50–950 ramp

primary
#2E5491
secondary
#B79764
accent
#A44DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5491

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

Preview Lab → · Contrast checker → · Palette generator →

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