#2E4FB4#2E4FB4

#2E4FB4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.165 H 266.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#2E4FB4
RGBrgb(46, 79, 180)
HSLhsl(225, 59%, 44%)
HSVhsv(225, 74%, 71%)
CMYKcmyk(74.4%, 56.1%, 0%, 29.4%)
CIE-LABlab(36.87, 24.05, -57.11)
CIE-LCHlch(36.87, 61.97, 292.84°)
OKLaboklab(46.46% -0.0107 -0.1646)
OKLCHoklch(46.46% 0.165 266.3)
XYZxyz(12.1580, 9.4668, 44.3577)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4FB4 #B4932E
analogous
#2E92B4 #2E4FB4 #502EB4
triadic
#2E4FB4 #B42E4F #4FB42E
tetradic
#2E4FB4 #B42E92 #B4932E #2EB450
square
#2E4FB4 #B42E92 #B4932E #2EB450
split-complementary
#2E4FB4 #B4502E #92B42E
monochromatic
#152453 #223A83 #2E4FB4 #4E6ED2 #7E96DE

Accessibility & contrast

On white

7.26
#2E4FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2E4FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4FB4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4FB4#FFFFFF#000000##FFFFFF
##2E4FB41.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e4fb4;
/* rgb */ color: rgb(46, 79, 180);
/* oklch */ color: oklch(46.5% 0.165 266.3);
Tailwind
colors: {
  custom: {
    50: '#7a7fcb',
    500: '#2e4fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2e4fb4;
$custom-light: #7a7fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4fb4",
  "rgb": {
    "r": 46,
    "g": 79,
    "b": 180
  },
  "hsl": {
    "h": 225.224,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46462,
    "c": 0.165,
    "h": 266.3
  },
  "luminance": 0.09468
}

Semantic roles & 50–950 ramp

primary
#2E4FB4
secondary
#C7B377
accent
#BC45E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #2E4FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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