#2E4D96#2E4D96

#2E4D96 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.7% C 0.125 H 264.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2E4D96
RGBrgb(46, 77, 150)
HSLhsl(222, 53%, 38%)
HSVhsv(222, 69%, 59%)
CMYKcmyk(69.3%, 48.7%, 0%, 41.2%)
CIE-LABlab(34.17, 14.02, -43.53)
CIE-LCHlch(34.17, 45.73, 287.85°)
OKLaboklab(43.73% -0.012 -0.1247)
OKLCHoklch(43.73% 0.125 264.5)
XYZxyz(9.2837, 8.0897, 29.9205)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D96 #96772E
analogous
#2E8196 #2E4D96 #432E96
triadic
#2E4D96 #962E4D #4D962E
tetradic
#2E4D96 #962E81 #96772E #2E9643
square
#2E4D96 #962E81 #96772E #2E9643
split-complementary
#2E4D96 #96432E #81962E
monochromatic
#111D38 #203567 #2E4D96 #3E66C4 #6C8BD2

Accessibility & contrast

On white

8.02
#2E4D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2E4D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D96
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D96#FFFFFF#000000##FFFFFF
##2E4D961.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265599
Deuteranopia (green-blind)
#0E4C95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4d96;
/* rgb */ color: rgb(46, 77, 150);
/* oklch */ color: oklch(43.7% 0.125 264.5);
Tailwind
colors: {
  custom: {
    50: '#737eb5',
    500: '#2e4d96',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d96;
$custom-light: #737eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d96",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 150
  },
  "hsl": {
    "h": 222.115,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43734,
    "c": 0.1253,
    "h": 264.5
  },
  "luminance": 0.08091
}

Semantic roles & 50–950 ramp

primary
#2E4D96
secondary
#B9A167
accent
#B14BDC
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4D96

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

Preview Lab → · Contrast checker → · Palette generator →

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