#2E4AB4#2E4AB4

#2E4AB4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.171 H 267.7°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2E4AB4
RGBrgb(46, 74, 180)
HSLhsl(227, 59%, 44%)
HSVhsv(227, 74%, 71%)
CMYKcmyk(74.4%, 58.9%, 0%, 29.4%)
CIE-LABlab(35.54, 27.34, -59.27)
CIE-LCHlch(35.54, 65.27, 294.77°)
OKLaboklab(45.47% -0.007 -0.1711)
OKLCHoklch(45.47% 0.171 267.7)
XYZxyz(11.8108, 8.7724, 44.2420)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4AB4 #B4982E
analogous
#2E8DB4 #2E4AB4 #552EB4
triadic
#2E4AB4 #B42E4A #4AB42E
tetradic
#2E4AB4 #B42E8D #B4982E #2EB455
square
#2E4AB4 #B42E8D #B4982E #2EB455
split-complementary
#2E4AB4 #B4552E #8DB42E
monochromatic
#152253 #223683 #2E4AB4 #4E69D2 #7E92DE

Accessibility & contrast

On white

7.62
#2E4AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2E4AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4AB4
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4AB4#FFFFFF#000000##FFFFFF
##2E4AB41.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e4ab4;
/* rgb */ color: rgb(46, 74, 180);
/* oklch */ color: oklch(45.5% 0.171 267.7);
Tailwind
colors: {
  custom: {
    50: '#7a7ccb',
    500: '#2e4ab4',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ab4;
$custom-light: #7a7ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ab4",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 180
  },
  "hsl": {
    "h": 227.463,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45468,
    "c": 0.1712,
    "h": 267.7
  },
  "luminance": 0.08774
}

Semantic roles & 50–950 ramp

primary
#2E4AB4
secondary
#C7B677
accent
#C245E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E4AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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