#2E4DB4#2E4DB4

#2E4DB4 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.167 H 266.8°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2E4DB4
RGBrgb(46, 77, 180)
HSLhsl(226, 59%, 44%)
HSVhsv(226, 74%, 71%)
CMYKcmyk(74.4%, 57.2%, 0%, 29.4%)
CIE-LABlab(36.33, 25.37, -57.98)
CIE-LCHlch(36.33, 63.29, 293.63°)
OKLaboklab(46.06% -0.0092 -0.1672)
OKLCHoklch(46.06% 0.167 266.8)
XYZxyz(12.0159, 9.1826, 44.3103)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4DB4 #B4952E
analogous
#2E90B4 #2E4DB4 #522EB4
triadic
#2E4DB4 #B42E4D #4DB42E
tetradic
#2E4DB4 #B42E90 #B4952E #2EB452
square
#2E4DB4 #B42E90 #B4952E #2EB452
split-complementary
#2E4DB4 #B4522E #90B42E
monochromatic
#152353 #223883 #2E4DB4 #4E6CD2 #7E94DE

Accessibility & contrast

On white

7.40
#2E4DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2E4DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4DB4
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4DB4#FFFFFF#000000##FFFFFF
##2E4DB41.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4db4;
/* rgb */ color: rgb(46, 77, 180);
/* oklch */ color: oklch(46.1% 0.167 266.8);
Tailwind
colors: {
  custom: {
    50: '#7a7ecb',
    500: '#2e4db4',
    950: '#000000',
  },
}
SCSS
$custom: #2e4db4;
$custom-light: #7a7ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4db4",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 180
  },
  "hsl": {
    "h": 226.119,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4606,
    "c": 0.16748,
    "h": 266.8
  },
  "luminance": 0.09184
}

Semantic roles & 50–950 ramp

primary
#2E4DB4
secondary
#C7B477
accent
#BE45E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2E4DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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