#2E4BA0#2E4BA0

#2E4BA0 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.0% C 0.142 H 266.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2E4BA0
RGBrgb(46, 75, 160)
HSLhsl(225, 55%, 40%)
HSVhsv(225, 71%, 63%)
CMYKcmyk(71.2%, 53.1%, 0%, 37.3%)
CIE-LABlab(34.29, 19.15, -49.37)
CIE-LCHlch(34.29, 52.95, 291.20°)
OKLaboklab(44.05% -0.009 -0.1419)
OKLCHoklch(44.05% 0.142 266.4)
XYZxyz(9.9857, 8.1500, 34.2977)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BA0 #A0832E
analogous
#2E84A0 #2E4BA0 #4A2EA0
triadic
#2E4BA0 #A02E4B #4BA02E
tetradic
#2E4BA0 #A02E84 #A0832E #2EA04A
square
#2E4BA0 #A02E84 #A0832E #2EA04A
split-complementary
#2E4BA0 #A04A2E #84A02E
monochromatic
#131E41 #203570 #2E4BA0 #4265C9 #728CD6

Accessibility & contrast

On white

7.98
#2E4BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2E4BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BA0
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BA0#FFFFFF#000000##FFFFFF
##2E4BA01.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1256A3
Deuteranopia (green-blind)
#004C9E
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e4ba0;
/* rgb */ color: rgb(46, 75, 160);
/* oklch */ color: oklch(44.0% 0.142 266.4);
Tailwind
colors: {
  custom: {
    50: '#757cbd',
    500: '#2e4ba0',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ba0;
$custom-light: #757cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ba0",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 160
  },
  "hsl": {
    "h": 224.737,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4405,
    "c": 0.14222,
    "h": 266.4
  },
  "luminance": 0.08151
}

Semantic roles & 50–950 ramp

primary
#2E4BA0
secondary
#BEA96C
accent
#B949DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2E4BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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