#2E4EBA#2E4EBA

#2E4EBA is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.174 H 266.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#2E4EBA
RGBrgb(46, 78, 186)
HSLhsl(226, 60%, 45%)
HSVhsv(226, 75%, 73%)
CMYKcmyk(75.3%, 58.1%, 0%, 27.1%)
CIE-LABlab(37.07, 26.96, -60.32)
CIE-LCHlch(37.07, 66.07, 294.08°)
OKLaboklab(46.76% -0.0097 -0.1741)
OKLCHoklch(46.76% 0.174 266.8)
XYZxyz(12.7109, 9.5734, 47.6228)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EBA #BA9A2E
analogous
#2E94BA #2E4EBA #542EBA
triadic
#2E4EBA #BA2E4E #4EBA2E
tetradic
#2E4EBA #BA2E94 #BA9A2E #2EBA54
square
#2E4EBA #BA2E94 #BA9A2E #2EBA54
split-complementary
#2E4EBA #BA542E #94BA2E
monochromatic
#162558 #223989 #2E4EBA #516FD4 #8298E0

Accessibility & contrast

On white

7.20
#2E4EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2E4EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4EBA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4EBA#FFFFFF#000000##FFFFFF
##2E4EBA1.007.202.917.20
#FFFFFF7.201.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e4eba;
/* rgb */ color: rgb(46, 78, 186);
/* oklch */ color: oklch(46.8% 0.174 266.8);
Tailwind
colors: {
  custom: {
    50: '#7b7fd0',
    500: '#2e4eba',
    950: '#000000',
  },
}
SCSS
$custom: #2e4eba;
$custom-light: #7b7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4eba",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 186
  },
  "hsl": {
    "h": 226.286,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46756,
    "c": 0.17437,
    "h": 266.8
  },
  "luminance": 0.09575
}

Semantic roles & 50–950 ramp

primary
#2E4EBA
secondary
#C9B77B
accent
#BF44E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2E4EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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