#2E4AB5#2E4AB5

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

Color values

HEX#2E4AB5
RGBrgb(46, 74, 181)
HSLhsl(228, 59%, 45%)
HSVhsv(228, 75%, 71%)
CMYKcmyk(74.6%, 59.1%, 0%, 29%)
CIE-LABlab(35.62, 27.72, -59.73)
CIE-LCHlch(35.62, 65.85, 294.89°)
OKLaboklab(45.55% -0.007 -0.1724)
OKLCHoklch(45.55% 0.173 267.7)
XYZxyz(11.9131, 8.8133, 44.7804)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4AB5 #B5992E
analogous
#2E8DB5 #2E4AB5 #562EB5
triadic
#2E4AB5 #B52E4A #4AB52E
tetradic
#2E4AB5 #B52E8D #B5992E #2EB556
square
#2E4AB5 #B52E8D #B5992E #2EB556
split-complementary
#2E4AB5 #B5562E #8DB52E
monochromatic
#152253 #223684 #2E4AB5 #4E6AD2 #7F93DE

Accessibility & contrast

On white

7.60
#2E4AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2E4AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4AB5
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4AB5#FFFFFF#000000##FFFFFF
##2E4AB51.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4ab5;
/* rgb */ color: rgb(46, 74, 181);
/* oklch */ color: oklch(45.6% 0.173 267.7);
Tailwind
colors: {
  custom: {
    50: '#7a7ccc',
    500: '#2e4ab5',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ab5;
$custom-light: #7a7ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ab5",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 181
  },
  "hsl": {
    "h": 227.556,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45553,
    "c": 0.17255,
    "h": 267.7
  },
  "luminance": 0.08815
}

Semantic roles & 50–950 ramp

primary
#2E4AB5
secondary
#C7B778
accent
#C245E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E4AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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