#2E5591#2E5591

#2E5591 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.2% C 0.108 H 258.8°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2E5591
RGBrgb(46, 85, 145)
HSLhsl(216, 52%, 37%)
HSVhsv(216, 68%, 57%)
CMYKcmyk(68.3%, 41.4%, 0%, 43.1%)
CIE-LABlab(36.22, 6.84, -37.22)
CIE-LCHlch(36.22, 37.84, 280.41°)
OKLaboklab(45.21% -0.021 -0.1061)
OKLCHoklch(45.21% 0.108 258.8)
XYZxyz(9.4842, 9.1212, 28.0433)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5591 #916A2E
analogous
#2E8691 #2E5591 #392E91
triadic
#2E5591 #912E55 #55912E
tetradic
#2E5591 #912E86 #916A2E #2E9139
square
#2E5591 #912E86 #916A2E #2E9139
split-complementary
#2E5591 #91392E #86912E
monochromatic
#111F34 #1F3A63 #2E5591 #3D70BF #6A92D0

Accessibility & contrast

On white

7.44
#2E5591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2E5591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5591
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5591#FFFFFF#000000##FFFFFF
##2E55911.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5A93
Deuteranopia (green-blind)
#2B5190
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e5591;
/* rgb */ color: rgb(46, 85, 145);
/* oklch */ color: oklch(45.2% 0.108 258.8);
Tailwind
colors: {
  custom: {
    50: '#7284b1',
    500: '#2e5591',
    950: '#000000',
  },
}
SCSS
$custom: #2e5591;
$custom-light: #7284b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5591",
  "rgb": {
    "r": 46,
    "g": 85,
    "b": 145
  },
  "hsl": {
    "h": 216.364,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4521,
    "c": 0.10813,
    "h": 258.8
  },
  "luminance": 0.09122
}

Semantic roles & 50–950 ramp

primary
#2E5591
secondary
#B79664
accent
#A34DDB
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5591

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

Preview Lab → · Contrast checker → · Palette generator →

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