#2E4394#2E4394

#2E4394 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.135 H 268.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2E4394
RGBrgb(46, 67, 148)
HSLhsl(228, 53%, 38%)
HSVhsv(228, 69%, 58%)
CMYKcmyk(68.9%, 54.7%, 0%, 42%)
CIE-LABlab(31.19, 19.99, -47.12)
CIE-LCHlch(31.19, 51.18, 292.99°)
OKLaboklab(41.43% -0.0028 -0.1354)
OKLCHoklch(41.43% 0.135 268.8)
XYZxyz(8.4773, 6.7325, 28.8640)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4394 #947F2E
analogous
#2E7694 #2E4394 #4C2E94
triadic
#2E4394 #942E43 #43942E
tetradic
#2E4394 #942E76 #947F2E #2E944C
square
#2E4394 #942E76 #947F2E #2E944C
split-complementary
#2E4394 #944C2E #76942E
monochromatic
#111937 #1F2E65 #2E4394 #3D58C3 #6B80D1

Accessibility & contrast

On white

8.95
#2E4394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E4394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4394
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4394#FFFFFF#000000##FFFFFF
##2E43941.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084E97
Deuteranopia (green-blind)
#004592
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4394;
/* rgb */ color: rgb(46, 67, 148);
/* oklch */ color: oklch(41.4% 0.135 268.8);
Tailwind
colors: {
  custom: {
    50: '#7376b4',
    500: '#2e4394',
    950: '#000000',
  },
}
SCSS
$custom: #2e4394;
$custom-light: #7376b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4394",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 148
  },
  "hsl": {
    "h": 227.647,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41427,
    "c": 0.13547,
    "h": 268.8
  },
  "luminance": 0.06733
}

Semantic roles & 50–950 ramp

primary
#2E4394
secondary
#B8A766
accent
#BE4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4394

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

Preview Lab → · Contrast checker → · Palette generator →

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