#2E4191#2E4191

#2E4191 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.134 H 269.5°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2E4191
RGBrgb(46, 65, 145)
HSLhsl(228, 52%, 37%)
HSVhsv(228, 68%, 57%)
CMYKcmyk(68.3%, 55.2%, 0%, 43.1%)
CIE-LABlab(30.41, 20.22, -46.54)
CIE-LCHlch(30.41, 50.74, 293.48°)
OKLaboklab(40.77% -0.0011 -0.1338)
OKLCHoklch(40.77% 0.134 269.5)
XYZxyz(8.1261, 6.4050, 27.5906)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4191 #917E2E
analogous
#2E7291 #2E4191 #4D2E91
triadic
#2E4191 #912E41 #41912E
tetradic
#2E4191 #912E72 #917E2E #2E914D
square
#2E4191 #912E72 #917E2E #2E914D
split-complementary
#2E4191 #914D2E #72912E
monochromatic
#111734 #1F2C63 #2E4191 #3D56BF #6A7DD0

Accessibility & contrast

On white

9.21
#2E4191 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E4191 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4191
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4191#FFFFFF#000000##FFFFFF
##2E41911.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064C94
Deuteranopia (green-blind)
#00438F
Tritanopia (blue-blind)
#005462
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e4191;
/* rgb */ color: rgb(46, 65, 145);
/* oklch */ color: oklch(40.8% 0.134 269.5);
Tailwind
colors: {
  custom: {
    50: '#7375b2',
    500: '#2e4191',
    950: '#000000',
  },
}
SCSS
$custom: #2e4191;
$custom-light: #7375b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4191",
  "rgb": {
    "r": 46,
    "g": 65,
    "b": 145
  },
  "hsl": {
    "h": 228.485,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.40771,
    "c": 0.13377,
    "h": 269.5
  },
  "luminance": 0.06406
}

Semantic roles & 50–950 ramp

primary
#2E4191
secondary
#B7A764
accent
#C04DDB
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4191

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

Preview Lab → · Contrast checker → · Palette generator →

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