#2E4BB9#2E4BB9

#2E4BB9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.1% C 0.177 H 267.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2E4BB9
RGBrgb(46, 75, 185)
HSLhsl(227, 60%, 45%)
HSVhsv(227, 75%, 73%)
CMYKcmyk(75.1%, 59.5%, 0%, 27.5%)
CIE-LABlab(36.20, 28.55, -61.14)
CIE-LCHlch(36.20, 67.48, 295.03°)
OKLaboklab(46.09% -0.0076 -0.1765)
OKLCHoklch(46.09% 0.177 267.5)
XYZxyz(12.3967, 9.1144, 46.9955)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4BB9 #B99C2E
analogous
#2E90B9 #2E4BB9 #562EB9
triadic
#2E4BB9 #B92E4B #4BB92E
tetradic
#2E4BB9 #B92E90 #B99C2E #2EB956
square
#2E4BB9 #B92E90 #B99C2E #2EB956
split-complementary
#2E4BB9 #B9562E #90B92E
monochromatic
#162357 #223788 #2E4BB9 #516CD4 #8295E0

Accessibility & contrast

On white

7.44
#2E4BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2E4BB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4BB9
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4BB9#FFFFFF#000000##FFFFFF
##2E4BB91.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e4bb9;
/* rgb */ color: rgb(46, 75, 185);
/* oklch */ color: oklch(46.1% 0.177 267.5);
Tailwind
colors: {
  custom: {
    50: '#7b7dcf',
    500: '#2e4bb9',
    950: '#000000',
  },
}
SCSS
$custom: #2e4bb9;
$custom-light: #7b7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4bb9",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 227.482,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46087,
    "c": 0.1767,
    "h": 267.5
  },
  "luminance": 0.09116
}

Semantic roles & 50–950 ramp

primary
#2E4BB9
secondary
#C9B87A
accent
#C244E3
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2E4BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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