#2E5191#2E5191

#2E5191 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.3% C 0.113 H 261.4°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2E5191
RGBrgb(46, 81, 145)
HSLhsl(219, 52%, 37%)
HSVhsv(219, 68%, 57%)
CMYKcmyk(68.3%, 44.1%, 0%, 43.1%)
CIE-LABlab(35.02, 9.47, -39.13)
CIE-LCHlch(35.02, 40.26, 283.61°)
OKLaboklab(44.29% -0.0169 -0.1117)
OKLCHoklch(44.29% 0.113 261.4)
XYZxyz(9.1782, 8.5091, 27.9413)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5191 #916E2E
analogous
#2E8291 #2E5191 #3D2E91
triadic
#2E5191 #912E51 #51912E
tetradic
#2E5191 #912E82 #916E2E #2E913D
square
#2E5191 #912E82 #916E2E #2E913D
split-complementary
#2E5191 #913D2E #82912E
monochromatic
#111D34 #1F3763 #2E5191 #3D6BBF #6A8ED0

Accessibility & contrast

On white

7.77
#2E5191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2E5191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5191
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5191#FFFFFF#000000##FFFFFF
##2E51911.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335793
Deuteranopia (green-blind)
#224E90
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e5191;
/* rgb */ color: rgb(46, 81, 145);
/* oklch */ color: oklch(44.3% 0.113 261.4);
Tailwind
colors: {
  custom: {
    50: '#7281b2',
    500: '#2e5191',
    950: '#000000',
  },
}
SCSS
$custom: #2e5191;
$custom-light: #7281b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5191",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 145
  },
  "hsl": {
    "h": 218.788,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44286,
    "c": 0.11298,
    "h": 261.4
  },
  "luminance": 0.0851
}

Semantic roles & 50–950 ramp

primary
#2E5191
secondary
#B79964
accent
#A94DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2E5191

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

Preview Lab → · Contrast checker → · Palette generator →

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