#2E4BA4#2E4BA4

#2E4BA4 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.4% C 0.148 H 266.7°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#2E4BA4
RGBrgb(46, 75, 164)
HSLhsl(225, 56%, 41%)
HSVhsv(225, 72%, 64%)
CMYKcmyk(72%, 54.3%, 0%, 35.7%)
CIE-LABlab(34.58, 20.66, -51.30)
CIE-LCHlch(34.58, 55.30, 291.94°)
OKLaboklab(44.36% -0.0086 -0.1476)
OKLCHoklch(44.36% 0.148 266.7)
XYZxyz(10.3413, 8.2923, 36.1703)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BA4 #A4872E
analogous
#2E86A4 #2E4BA4 #4C2EA4
triadic
#2E4BA4 #A42E4B #4BA42E
tetradic
#2E4BA4 #A42E86 #A4872E #2EA44C
square
#2E4BA4 #A42E86 #A4872E #2EA44C
split-complementary
#2E4BA4 #A44C2E #86A42E
monochromatic
#131F44 #213574 #2E4BA4 #4565CB #748DD8

Accessibility & contrast

On white

7.90
#2E4BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2E4BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BA4
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BA4#FFFFFF#000000##FFFFFF
##2E4BA41.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0757A7
Deuteranopia (green-blind)
#004CA2
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4ba4;
/* rgb */ color: rgb(46, 75, 164);
/* oklch */ color: oklch(44.4% 0.148 266.7);
Tailwind
colors: {
  custom: {
    50: '#767cc0',
    500: '#2e4ba4',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ba4;
$custom-light: #767cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ba4",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 164
  },
  "hsl": {
    "h": 225.254,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.44363,
    "c": 0.14787,
    "h": 266.7
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#2E4BA4
secondary
#C0AC6E
accent
#BA48DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E4BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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