#2E4DAE#2E4DAE

#2E4DAE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.159 H 266.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2E4DAE
RGBrgb(46, 77, 174)
HSLhsl(225, 58%, 43%)
HSVhsv(225, 74%, 68%)
CMYKcmyk(73.6%, 55.7%, 0%, 31.8%)
CIE-LABlab(35.88, 23.11, -55.17)
CIE-LCHlch(35.88, 59.82, 292.73°)
OKLaboklab(45.57% -0.0095 -0.159)
OKLCHoklch(45.57% 0.159 266.6)
XYZxyz(11.4179, 8.9434, 41.1607)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4DAE #AE8F2E
analogous
#2E8DAE #2E4DAE #4F2EAE
triadic
#2E4DAE #AE2E4D #4DAE2E
tetradic
#2E4DAE #AE2E8D #AE8F2E #2EAE4F
square
#2E4DAE #AE2E8D #AE8F2E #2EAE4F
split-complementary
#2E4DAE #AE4F2E #8DAE2E
monochromatic
#14224D #21387E #2E4DAE #4A6ACF #7A92DC

Accessibility & contrast

On white

7.53
#2E4DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2E4DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4DAE
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4DAE#FFFFFF#000000##FFFFFF
##2E4DAE1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4dae;
/* rgb */ color: rgb(46, 77, 174);
/* oklch */ color: oklch(45.6% 0.159 266.6);
Tailwind
colors: {
  custom: {
    50: '#787ec7',
    500: '#2e4dae',
    950: '#000000',
  },
}
SCSS
$custom: #2e4dae;
$custom-light: #787ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4dae",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 174
  },
  "hsl": {
    "h": 225.469,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45572,
    "c": 0.15927,
    "h": 266.6
  },
  "luminance": 0.08945
}

Semantic roles & 50–950 ramp

primary
#2E4DAE
secondary
#C4B174
accent
#BC46E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2E4DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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