#2E3894#2E3894

#2E3894 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.2% C 0.150 H 272.6°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#2E3894
RGBrgb(46, 56, 148)
HSLhsl(234, 53%, 38%)
HSVhsv(234, 69%, 58%)
CMYKcmyk(68.9%, 62.2%, 0%, 42%)
CIE-LABlab(28.24, 27.38, -51.91)
CIE-LCHlch(28.24, 58.69, 297.81°)
OKLaboklab(39.22% 0.0069 -0.1497)
OKLCHoklch(39.22% 0.15 272.6)
XYZxyz(7.8844, 5.5466, 28.6663)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3894 #948A2E
analogous
#2E6B94 #2E3894 #572E94
triadic
#2E3894 #942E38 #38942E
tetradic
#2E3894 #942E6B #948A2E #2E9457
square
#2E3894 #942E6B #948A2E #2E9457
split-complementary
#2E3894 #94572E #6B942E
monochromatic
#111537 #1F2665 #2E3894 #3D4AC3 #6B75D1

Accessibility & contrast

On white

9.96
#2E3894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2E3894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3894
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3894#FFFFFF#000000##FFFFFF
##2E38941.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#003E92
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e3894;
/* rgb */ color: rgb(46, 56, 148);
/* oklch */ color: oklch(39.2% 0.150 272.6);
Tailwind
colors: {
  custom: {
    50: '#746eb4',
    500: '#2e3894',
    950: '#000000',
  },
}
SCSS
$custom: #2e3894;
$custom-light: #746eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3894",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 234.118,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.39224,
    "c": 0.14983,
    "h": 272.6
  },
  "luminance": 0.05547
}

Semantic roles & 50–950 ramp

primary
#2E3894
secondary
#B8B066
accent
#CE4CDC
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E3894

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

Preview Lab → · Contrast checker → · Palette generator →

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