#2E4BA9#2E4BA9

#2E4BA9 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.8% C 0.155 H 266.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#2E4BA9
RGBrgb(46, 75, 169)
HSLhsl(226, 57%, 42%)
HSVhsv(226, 73%, 66%)
CMYKcmyk(72.8%, 55.6%, 0%, 33.7%)
CIE-LABlab(34.96, 22.55, -53.69)
CIE-LCHlch(34.96, 58.23, 292.78°)
OKLaboklab(44.76% -0.0082 -0.1546)
OKLCHoklch(44.76% 0.155 266.9)
XYZxyz(10.8017, 8.4764, 38.5953)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BA9 #A98C2E
analogous
#2E88A9 #2E4BA9 #4F2EA9
triadic
#2E4BA9 #A92E4B #4BA92E
tetradic
#2E4BA9 #A92E88 #A98C2E #2EA94F
square
#2E4BA9 #A92E88 #A98C2E #2EA94F
split-complementary
#2E4BA9 #A94F2E #88A92E
monochromatic
#142049 #213679 #2E4BA9 #4767CD #778FDA

Accessibility & contrast

On white

7.79
#2E4BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2E4BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BA9
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BA9#FFFFFF#000000##FFFFFF
##2E4BA91.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#004DA7
Tritanopia (blue-blind)
#006272
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4ba9;
/* rgb */ color: rgb(46, 75, 169);
/* oklch */ color: oklch(44.8% 0.155 266.9);
Tailwind
colors: {
  custom: {
    50: '#777cc3',
    500: '#2e4ba9',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ba9;
$custom-light: #777cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ba9",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 169
  },
  "hsl": {
    "h": 225.854,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44761,
    "c": 0.15486,
    "h": 266.9
  },
  "luminance": 0.08478
}

Semantic roles & 50–950 ramp

primary
#2E4BA9
secondary
#C2AF71
accent
#BC47E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E4BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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