#2E4594#2E4594

#2E4594 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 41.8% C 0.133 H 268.0°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2E4594
RGBrgb(46, 69, 148)
HSLhsl(226, 53%, 38%)
HSVhsv(226, 69%, 58%)
CMYKcmyk(68.9%, 53.4%, 0%, 42%)
CIE-LABlab(31.75, 18.64, -46.21)
CIE-LCHlch(31.75, 49.83, 291.97°)
OKLaboklab(41.85% -0.0046 -0.1327)
OKLCHoklch(41.85% 0.133 268)
XYZxyz(8.5983, 6.9744, 28.9043)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4594 #947D2E
analogous
#2E7894 #2E4594 #4A2E94
triadic
#2E4594 #942E45 #45942E
tetradic
#2E4594 #942E78 #947D2E #2E944A
square
#2E4594 #942E78 #947D2E #2E944A
split-complementary
#2E4594 #944A2E #78942E
monochromatic
#111937 #1F2F65 #2E4594 #3D5BC3 #6B82D1

Accessibility & contrast

On white

8.77
#2E4594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E4594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4594
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4594#FFFFFF#000000##FFFFFF
##2E45941.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125097
Deuteranopia (green-blind)
#004692
Tritanopia (blue-blind)
#005865
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4594;
/* rgb */ color: rgb(46, 69, 148);
/* oklch */ color: oklch(41.8% 0.133 268.0);
Tailwind
colors: {
  custom: {
    50: '#7378b4',
    500: '#2e4594',
    950: '#000000',
  },
}
SCSS
$custom: #2e4594;
$custom-light: #7378b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4594",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 148
  },
  "hsl": {
    "h": 226.471,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41849,
    "c": 0.13283,
    "h": 268
  },
  "luminance": 0.06975
}

Semantic roles & 50–950 ramp

primary
#2E4594
secondary
#B8A666
accent
#BB4CDC
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2E4594

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

Preview Lab → · Contrast checker → · Palette generator →

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