#2E4EA5#2E4EA5

#2E4EA5 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.1% C 0.145 H 265.6°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2E4EA5
RGBrgb(46, 78, 165)
HSLhsl(224, 56%, 41%)
HSVhsv(224, 72%, 65%)
CMYKcmyk(72.1%, 52.7%, 0%, 35.3%)
CIE-LABlab(35.49, 19.04, -50.43)
CIE-LCHlch(35.49, 53.91, 290.68°)
OKLaboklab(45.07% -0.0111 -0.145)
OKLCHoklch(45.07% 0.145 265.6)
XYZxyz(10.6403, 8.7451, 36.7172)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EA5 #A5852E
analogous
#2E8AA5 #2E4EA5 #4A2EA5
triadic
#2E4EA5 #A52E4E #4EA52E
tetradic
#2E4EA5 #A52E8A #A5852E #2EA54A
square
#2E4EA5 #A52E8A #A5852E #2EA54A
split-complementary
#2E4EA5 #A54A2E #8AA52E
monochromatic
#132145 #213775 #2E4EA5 #4569CB #7590D8

Accessibility & contrast

On white

7.64
#2E4EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4EA5
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4EA5#FFFFFF#000000##FFFFFF
##2E4EA51.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1559A8
Deuteranopia (green-blind)
#004EA3
Tritanopia (blue-blind)
#006372
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e4ea5;
/* rgb */ color: rgb(46, 78, 165);
/* oklch */ color: oklch(45.1% 0.145 265.6);
Tailwind
colors: {
  custom: {
    50: '#767fc0',
    500: '#2e4ea5',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ea5;
$custom-light: #767fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ea5",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 223.866,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4507,
    "c": 0.14545,
    "h": 265.6
  },
  "luminance": 0.08746
}

Semantic roles & 50–950 ramp

primary
#2E4EA5
secondary
#C0AA6F
accent
#B748E0
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2E4EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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