#2E4EAE#2E4EAE

#2E4EAE is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.158 H 266.3°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2E4EAE
RGBrgb(46, 78, 174)
HSLhsl(225, 58%, 43%)
HSVhsv(225, 74%, 68%)
CMYKcmyk(73.6%, 55.2%, 0%, 31.8%)
CIE-LABlab(36.15, 22.45, -54.73)
CIE-LCHlch(36.15, 59.16, 292.30°)
OKLaboklab(45.78% -0.0103 -0.1577)
OKLCHoklch(45.78% 0.158 266.3)
XYZxyz(11.4884, 9.0844, 41.1842)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EAE #AE8E2E
analogous
#2E8EAE #2E4EAE #4E2EAE
triadic
#2E4EAE #AE2E4E #4EAE2E
tetradic
#2E4EAE #AE2E8E #AE8E2E #2EAE4E
square
#2E4EAE #AE2E8E #AE8E2E #2EAE4E
split-complementary
#2E4EAE #AE4E2E #8EAE2E
monochromatic
#14234D #21387E #2E4EAE #4A6BCF #7A93DC

Accessibility & contrast

On white

7.45
#2E4EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4EAE
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4EAE#FFFFFF#000000##FFFFFF
##2E4EAE1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#006576
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e4eae;
/* rgb */ color: rgb(46, 78, 174);
/* oklch */ color: oklch(45.8% 0.158 266.3);
Tailwind
colors: {
  custom: {
    50: '#787fc7',
    500: '#2e4eae',
    950: '#000000',
  },
}
SCSS
$custom: #2e4eae;
$custom-light: #787fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4eae",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 174
  },
  "hsl": {
    "h": 225,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45776,
    "c": 0.15801,
    "h": 266.3
  },
  "luminance": 0.09086
}

Semantic roles & 50–950 ramp

primary
#2E4EAE
secondary
#C4B074
accent
#BB46E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E4EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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