#2E4EB4#2E4EB4

#2E4EB4 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.3% C 0.166 H 266.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2E4EB4
RGBrgb(46, 78, 180)
HSLhsl(226, 59%, 44%)
HSVhsv(226, 74%, 71%)
CMYKcmyk(74.4%, 56.7%, 0%, 29.4%)
CIE-LABlab(36.60, 24.71, -57.55)
CIE-LCHlch(36.60, 62.63, 293.24°)
OKLaboklab(46.26% -0.01 -0.1659)
OKLCHoklch(46.26% 0.166 266.6)
XYZxyz(12.0864, 9.3236, 44.3338)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EB4 #B4942E
analogous
#2E91B4 #2E4EB4 #512EB4
triadic
#2E4EB4 #B42E4E #4EB42E
tetradic
#2E4EB4 #B42E91 #B4942E #2EB451
square
#2E4EB4 #B42E91 #B4942E #2EB451
split-complementary
#2E4EB4 #B4512E #91B42E
monochromatic
#152453 #223983 #2E4EB4 #4E6DD2 #7E95DE

Accessibility & contrast

On white

7.33
#2E4EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2E4EB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4EB4
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4EB4#FFFFFF#000000##FFFFFF
##2E4EB41.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#0050B2
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e4eb4;
/* rgb */ color: rgb(46, 78, 180);
/* oklch */ color: oklch(46.3% 0.166 266.6);
Tailwind
colors: {
  custom: {
    50: '#7a7fcb',
    500: '#2e4eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2e4eb4;
$custom-light: #7a7fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4eb4",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 225.672,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4626,
    "c": 0.16625,
    "h": 266.6
  },
  "luminance": 0.09325
}

Semantic roles & 50–950 ramp

primary
#2E4EB4
secondary
#C7B477
accent
#BD45E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #2E4EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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