#2E4EA7#2E4EA7

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

Color values

HEX#2E4EA7
RGBrgb(46, 78, 167)
HSLhsl(224, 57%, 42%)
HSVhsv(224, 72%, 65%)
CMYKcmyk(72.5%, 53.3%, 0%, 34.5%)
CIE-LABlab(35.63, 19.80, -51.40)
CIE-LCHlch(35.63, 55.08, 291.07°)
OKLaboklab(45.23% -0.0109 -0.1479)
OKLCHoklch(45.23% 0.148 265.8)
XYZxyz(10.8237, 8.8185, 37.6834)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EA7 #A7872E
analogous
#2E8BA7 #2E4EA7 #4A2EA7
triadic
#2E4EA7 #A72E4E #4EA72E
tetradic
#2E4EA7 #A72E8B #A7872E #2EA74A
square
#2E4EA7 #A72E8B #A7872E #2EA74A
split-complementary
#2E4EA7 #A74A2E #8BA72E
monochromatic
#142147 #213877 #2E4EA7 #466ACC #7690D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4EA7#FFFFFF#000000##FFFFFF
##2E4EA71.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)
#105AAA
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e4ea7;
/* rgb */ color: rgb(46, 78, 167);
/* oklch */ color: oklch(45.2% 0.148 265.8);
Tailwind
colors: {
  custom: {
    50: '#777fc2',
    500: '#2e4ea7',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ea7;
$custom-light: #777fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ea7",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 167
  },
  "hsl": {
    "h": 224.132,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45225,
    "c": 0.14826,
    "h": 265.8
  },
  "luminance": 0.0882
}

Semantic roles & 50–950 ramp

primary
#2E4EA7
secondary
#C1AC70
accent
#B848E0
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2E4EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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