#2E4AAE#2E4AAE

#2E4AAE is a dark, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.163 H 267.5°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#2E4AAE
RGBrgb(46, 74, 174)
HSLhsl(227, 58%, 43%)
HSVhsv(227, 74%, 68%)
CMYKcmyk(73.6%, 57.5%, 0%, 31.8%)
CIE-LABlab(35.07, 25.10, -56.48)
CIE-LCHlch(35.07, 61.81, 293.96°)
OKLaboklab(44.97% -0.0072 -0.1629)
OKLCHoklch(44.97% 0.163 267.5)
XYZxyz(11.2128, 8.5332, 41.0923)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4AAE #AE922E
analogous
#2E8AAE #2E4AAE #522EAE
triadic
#2E4AAE #AE2E4A #4AAE2E
tetradic
#2E4AAE #AE2E8A #AE922E #2EAE52
square
#2E4AAE #AE2E8A #AE922E #2EAE52
split-complementary
#2E4AAE #AE522E #8AAE2E
monochromatic
#14214D #21357E #2E4AAE #4A67CF #7A90DC

Accessibility & contrast

On white

7.76
#2E4AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2E4AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4AAE
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4AAE#FFFFFF#000000##FFFFFF
##2E4AAE1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e4aae;
/* rgb */ color: rgb(46, 74, 174);
/* oklch */ color: oklch(45.0% 0.163 267.5);
Tailwind
colors: {
  custom: {
    50: '#797cc7',
    500: '#2e4aae',
    950: '#000000',
  },
}
SCSS
$custom: #2e4aae;
$custom-light: #797cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4aae",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 174
  },
  "hsl": {
    "h": 226.875,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44966,
    "c": 0.16303,
    "h": 267.5
  },
  "luminance": 0.08534
}

Semantic roles & 50–950 ramp

primary
#2E4AAE
secondary
#C4B374
accent
#BF46E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E4AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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