#2E4EAD#2E4EAD

#2E4EAD is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.157 H 266.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2E4EAD
RGBrgb(46, 78, 173)
HSLhsl(225, 58%, 43%)
HSVhsv(225, 73%, 68%)
CMYKcmyk(73.4%, 54.9%, 0%, 32.2%)
CIE-LABlab(36.07, 22.07, -54.26)
CIE-LCHlch(36.07, 58.58, 292.13°)
OKLaboklab(45.7% -0.0104 -0.1563)
OKLCHoklch(45.7% 0.157 266.2)
XYZxyz(11.3913, 9.0455, 40.6727)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EAD #AD8D2E
analogous
#2E8DAD #2E4EAD #4D2EAD
triadic
#2E4EAD #AD2E4E #4EAD2E
tetradic
#2E4EAD #AD2E8D #AD8D2E #2EAD4D
square
#2E4EAD #AD2E8D #AD8D2E #2EAD4D
split-complementary
#2E4EAD #AD4D2E #8DAD2E
monochromatic
#14224C #21387D #2E4EAD #496BCF #7A92DC

Accessibility & contrast

On white

7.47
#2E4EAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2E4EAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4EAD
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4EAD#FFFFFF#000000##FFFFFF
##2E4EAD1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4ead;
/* rgb */ color: rgb(46, 78, 173);
/* oklch */ color: oklch(45.7% 0.157 266.2);
Tailwind
colors: {
  custom: {
    50: '#787fc6',
    500: '#2e4ead',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ead;
$custom-light: #787fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ead",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 173
  },
  "hsl": {
    "h": 224.882,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45696,
    "c": 0.15662,
    "h": 266.2
  },
  "luminance": 0.09047
}

Semantic roles & 50–950 ramp

primary
#2E4EAD
secondary
#C4AF73
accent
#BA47E1
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2E4EAD

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

Preview Lab → · Contrast checker → · Palette generator →

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