#2E4392#2E4392

#2E4392 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.133 H 268.7°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2E4392
RGBrgb(46, 67, 146)
HSLhsl(227, 52%, 38%)
HSVhsv(227, 68%, 57%)
CMYKcmyk(68.5%, 54.1%, 0%, 42.7%)
CIE-LABlab(31.04, 19.24, -46.13)
CIE-LCHlch(31.04, 49.98, 292.64°)
OKLaboklab(41.27% -0.0029 -0.1325)
OKLCHoklch(41.27% 0.133 268.7)
XYZxyz(8.3204, 6.6697, 28.0374)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4392 #927D2E
analogous
#2E7592 #2E4392 #4B2E92
triadic
#2E4392 #922E43 #43922E
tetradic
#2E4392 #922E75 #927D2E #2E924B
square
#2E4392 #922E75 #927D2E #2E924B
split-complementary
#2E4392 #924B2E #75922E
monochromatic
#111835 #1F2E63 #2E4392 #3D58C1 #6A80D0

Accessibility & contrast

On white

9.00
#2E4392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2E4392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4392
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4392#FFFFFF#000000##FFFFFF
##2E43921.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4E95
Deuteranopia (green-blind)
#004590
Tritanopia (blue-blind)
#005664
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4392;
/* rgb */ color: rgb(46, 67, 146);
/* oklch */ color: oklch(41.3% 0.133 268.7);
Tailwind
colors: {
  custom: {
    50: '#7376b3',
    500: '#2e4392',
    950: '#000000',
  },
}
SCSS
$custom: #2e4392;
$custom-light: #7376b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4392",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 146
  },
  "hsl": {
    "h": 227.4,
    "s": 52.083,
    "l": 37.647
  },
  "oklch": {
    "l": 0.41269,
    "c": 0.13257,
    "h": 268.7
  },
  "luminance": 0.0667
}

Semantic roles & 50–950 ramp

primary
#2E4392
secondary
#B7A665
accent
#BD4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4392

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

Preview Lab → · Contrast checker → · Palette generator →

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