#2E4AB0#2E4AB0

#2E4AB0 is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.166 H 267.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2E4AB0
RGBrgb(46, 74, 176)
HSLhsl(227, 59%, 44%)
HSVhsv(227, 74%, 69%)
CMYKcmyk(73.9%, 58%, 0%, 31%)
CIE-LABlab(35.23, 25.85, -57.41)
CIE-LCHlch(35.23, 62.96, 294.24°)
OKLaboklab(45.13% -0.0071 -0.1656)
OKLCHoklch(45.13% 0.166 267.5)
XYZxyz(11.4092, 8.6118, 42.1268)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4AB0 #B0942E
analogous
#2E8BB0 #2E4AB0 #532EB0
triadic
#2E4AB0 #B02E4A #4AB02E
tetradic
#2E4AB0 #B02E8B #B0942E #2EB053
square
#2E4AB0 #B02E8B #B0942E #2EB053
split-complementary
#2E4AB0 #B0532E #8BB02E
monochromatic
#15214F #21367F #2E4AB0 #4B68D0 #7C91DD

Accessibility & contrast

On white

7.71
#2E4AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2E4AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4AB0
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4AB0#FFFFFF#000000##FFFFFF
##2E4AB01.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e4ab0;
/* rgb */ color: rgb(46, 74, 176);
/* oklch */ color: oklch(45.1% 0.166 267.5);
Tailwind
colors: {
  custom: {
    50: '#797cc8',
    500: '#2e4ab0',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ab0;
$custom-light: #797cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ab0",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 176
  },
  "hsl": {
    "h": 227.077,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45133,
    "c": 0.16577,
    "h": 267.5
  },
  "luminance": 0.08613
}

Semantic roles & 50–950 ramp

primary
#2E4AB0
secondary
#C5B475
accent
#C046E2
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E4AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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