#2E4ABA#2E4ABA

#2E4ABA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 46.0% C 0.179 H 267.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#2E4ABA
RGBrgb(46, 74, 186)
HSLhsl(228, 60%, 45%)
HSVhsv(228, 75%, 73%)
CMYKcmyk(75.3%, 60.2%, 0%, 27.1%)
CIE-LABlab(36.03, 29.58, -62.02)
CIE-LCHlch(36.03, 68.71, 295.50°)
OKLaboklab(45.98% -0.0069 -0.1791)
OKLCHoklch(45.98% 0.179 267.8)
XYZxyz(12.4353, 9.0222, 47.5309)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4ABA #BA9E2E
analogous
#2E90BA #2E4ABA #582EBA
triadic
#2E4ABA #BA2E4A #4ABA2E
tetradic
#2E4ABA #BA2E90 #BA9E2E #2EBA58
square
#2E4ABA #BA2E90 #BA9E2E #2EBA58
split-complementary
#2E4ABA #BA582E #90BA2E
monochromatic
#162358 #223689 #2E4ABA #516BD4 #8295E0

Accessibility & contrast

On white

7.49
#2E4ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2E4ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4ABA
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4ABA#FFFFFF#000000##FFFFFF
##2E4ABA1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBE
Deuteranopia (green-blind)
#004EB8
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e4aba;
/* rgb */ color: rgb(46, 74, 186);
/* oklch */ color: oklch(46.0% 0.179 267.8);
Tailwind
colors: {
  custom: {
    50: '#7b7cd0',
    500: '#2e4aba',
    950: '#000000',
  },
}
SCSS
$custom: #2e4aba;
$custom-light: #7b7cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4aba",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 186
  },
  "hsl": {
    "h": 228,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.45981,
    "c": 0.17926,
    "h": 267.8
  },
  "luminance": 0.09024
}

Semantic roles & 50–950 ramp

primary
#2E4ABA
secondary
#C9B97B
accent
#C444E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E4ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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