#2E4CBA#2E4CBA

#2E4CBA is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.177 H 267.3°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2E4CBA
RGBrgb(46, 76, 186)
HSLhsl(227, 60%, 45%)
HSVhsv(227, 75%, 73%)
CMYKcmyk(75.3%, 59.1%, 0%, 27.1%)
CIE-LABlab(36.54, 28.27, -61.17)
CIE-LCHlch(36.54, 67.39, 294.80°)
OKLaboklab(46.37% -0.0083 -0.1766)
OKLCHoklch(46.37% 0.177 267.3)
XYZxyz(12.5710, 9.2935, 47.5762)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4CBA #BA9C2E
analogous
#2E92BA #2E4CBA #562EBA
triadic
#2E4CBA #BA2E4C #4CBA2E
tetradic
#2E4CBA #BA2E92 #BA9C2E #2EBA56
square
#2E4CBA #BA2E92 #BA9C2E #2EBA56
split-complementary
#2E4CBA #BA562E #92BA2E
monochromatic
#162458 #223889 #2E4CBA #516DD4 #8296E0

Accessibility & contrast

On white

7.35
#2E4CBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2E4CBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4CBA
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4CBA#FFFFFF#000000##FFFFFF
##2E4CBA1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0050B8
Tritanopia (blue-blind)
#00687B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2e4cba;
/* rgb */ color: rgb(46, 76, 186);
/* oklch */ color: oklch(46.4% 0.177 267.3);
Tailwind
colors: {
  custom: {
    50: '#7b7dd0',
    500: '#2e4cba',
    950: '#000000',
  },
}
SCSS
$custom: #2e4cba;
$custom-light: #7b7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4cba",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 227.143,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46365,
    "c": 0.17682,
    "h": 267.3
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#2E4CBA
secondary
#C9B87B
accent
#C144E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E4CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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