#2E4A9A#2E4A9A

#2E4A9A is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.135 H 266.3°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2E4A9A
RGBrgb(46, 74, 154)
HSLhsl(224, 54%, 39%)
HSVhsv(224, 70%, 60%)
CMYKcmyk(70.1%, 51.9%, 0%, 39.6%)
CIE-LABlab(33.59, 17.55, -46.89)
CIE-LCHlch(33.59, 50.07, 290.51°)
OKLaboklab(43.38% -0.0087 -0.1347)
OKLCHoklch(43.38% 0.135 266.3)
XYZxyz(9.4062, 7.8106, 31.5775)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A9A #9A7E2E
analogous
#2E809A #2E4A9A #482E9A
triadic
#2E4A9A #9A2E4A #4A9A2E
tetradic
#2E4A9A #9A2E80 #9A7E2E #2E9A48
square
#2E4A9A #9A2E80 #9A7E2E #2E9A48
split-complementary
#2E4A9A #9A482E #809A2E
monochromatic
#121D3C #20336B #2E4A9A #3F62C6 #6F89D4

Accessibility & contrast

On white

8.20
#2E4A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2E4A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A9A
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A9A#FFFFFF#000000##FFFFFF
##2E4A9A1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A549D
Deuteranopia (green-blind)
#004A98
Tritanopia (blue-blind)
#005D6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4a9a;
/* rgb */ color: rgb(46, 74, 154);
/* oklch */ color: oklch(43.4% 0.135 266.3);
Tailwind
colors: {
  custom: {
    50: '#747cb8',
    500: '#2e4a9a',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a9a;
$custom-light: #747cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a9a",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 154
  },
  "hsl": {
    "h": 224.444,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.43377,
    "c": 0.13495,
    "h": 266.3
  },
  "luminance": 0.07811
}

Semantic roles & 50–950 ramp

primary
#2E4A9A
secondary
#BBA669
accent
#B74ADD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E4A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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