#2E4B9A#2E4B9A

#2E4B9A is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.6% C 0.134 H 265.9°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2E4B9A
RGBrgb(46, 75, 154)
HSLhsl(224, 54%, 39%)
HSVhsv(224, 70%, 60%)
CMYKcmyk(70.1%, 51.3%, 0%, 39.6%)
CIE-LABlab(33.87, 16.88, -46.44)
CIE-LCHlch(33.87, 49.41, 289.97°)
OKLaboklab(43.59% -0.0096 -0.1333)
OKLCHoklch(43.59% 0.134 265.9)
XYZxyz(9.4735, 7.9451, 31.5999)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B9A #9A7D2E
analogous
#2E819A #2E4B9A #472E9A
triadic
#2E4B9A #9A2E4B #4B9A2E
tetradic
#2E4B9A #9A2E81 #9A7D2E #2E9A47
square
#2E4B9A #9A2E81 #9A7D2E #2E9A47
split-complementary
#2E4B9A #9A472E #819A2E
monochromatic
#121D3C #20346B #2E4B9A #3F64C6 #6F8AD4

Accessibility & contrast

On white

8.11
#2E4B9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2E4B9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B9A
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B9A#FFFFFF#000000##FFFFFF
##2E4B9A1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D559D
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#005E6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4b9a;
/* rgb */ color: rgb(46, 75, 154);
/* oklch */ color: oklch(43.6% 0.134 265.9);
Tailwind
colors: {
  custom: {
    50: '#747cb8',
    500: '#2e4b9a',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b9a;
$custom-light: #747cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b9a",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 154
  },
  "hsl": {
    "h": 223.889,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43592,
    "c": 0.13365,
    "h": 265.9
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#2E4B9A
secondary
#BBA569
accent
#B64ADD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4B9A

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

Preview Lab → · Contrast checker → · Palette generator →

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