#2E4BB1#2E4BB1

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

Color values

HEX#2E4BB1
RGBrgb(46, 75, 177)
HSLhsl(227, 59%, 44%)
HSVhsv(227, 74%, 69%)
CMYKcmyk(74%, 57.6%, 0%, 30.6%)
CIE-LABlab(35.57, 25.56, -57.45)
CIE-LCHlch(35.57, 62.88, 293.99°)
OKLaboklab(45.41% -0.0078 -0.1657)
OKLCHoklch(45.41% 0.166 267.3)
XYZxyz(11.5758, 8.7861, 42.6723)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BB1 #B1942E
analogous
#2E8CB1 #2E4BB1 #532EB1
triadic
#2E4BB1 #B12E4B #4BB12E
tetradic
#2E4BB1 #B12E8C #B1942E #2EB153
square
#2E4BB1 #B12E8C #B1942E #2EB153
split-complementary
#2E4BB1 #B1532E #8CB12E
monochromatic
#152250 #213680 #2E4BB1 #4C69D0 #7C92DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4BB1#FFFFFF#000000##FFFFFF
##2E4BB11.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e4bb1;
/* rgb */ color: rgb(46, 75, 177);
/* oklch */ color: oklch(45.4% 0.166 267.3);
Tailwind
colors: {
  custom: {
    50: '#797cc9',
    500: '#2e4bb1',
    950: '#000000',
  },
}
SCSS
$custom: #2e4bb1;
$custom-light: #797cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4bb1",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 226.718,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45414,
    "c": 0.16588,
    "h": 267.3
  },
  "luminance": 0.08787
}

Semantic roles & 50–950 ramp

primary
#2E4BB1
secondary
#C6B475
accent
#BF46E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E4BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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