#2E4EB9#2E4EB9

#2E4EB9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.7% C 0.173 H 266.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2E4EB9
RGBrgb(46, 78, 185)
HSLhsl(226, 60%, 45%)
HSVhsv(226, 75%, 73%)
CMYKcmyk(75.1%, 57.8%, 0%, 27.5%)
CIE-LABlab(36.99, 26.59, -59.86)
CIE-LCHlch(36.99, 65.50, 293.95°)
OKLaboklab(46.67% -0.0097 -0.1727)
OKLCHoklch(46.67% 0.173 266.8)
XYZxyz(12.6050, 9.5310, 47.0649)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EB9 #B9992E
analogous
#2E93B9 #2E4EB9 #532EB9
triadic
#2E4EB9 #B92E4E #4EB92E
tetradic
#2E4EB9 #B92E93 #B9992E #2EB953
square
#2E4EB9 #B92E93 #B9992E #2EB953
split-complementary
#2E4EB9 #B9532E #93B92E
monochromatic
#162557 #223988 #2E4EB9 #516FD4 #8297E0

Accessibility & contrast

On white

7.23
#2E4EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4EB9
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4EB9#FFFFFF#000000##FFFFFF
##2E4EB91.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4eb9;
/* rgb */ color: rgb(46, 78, 185);
/* oklch */ color: oklch(46.7% 0.173 266.8);
Tailwind
colors: {
  custom: {
    50: '#7b7fcf',
    500: '#2e4eb9',
    950: '#000000',
  },
}
SCSS
$custom: #2e4eb9;
$custom-light: #7b7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4eb9",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 226.187,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46672,
    "c": 0.17302,
    "h": 266.8
  },
  "luminance": 0.09532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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