#2E4EA1#2E4EA1

#2E4EA1 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.8% C 0.140 H 265.3°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#2E4EA1
RGBrgb(46, 78, 161)
HSLhsl(223, 56%, 41%)
HSVhsv(223, 71%, 63%)
CMYKcmyk(71.4%, 51.6%, 0%, 36.9%)
CIE-LABlab(35.21, 17.52, -48.49)
CIE-LCHlch(35.21, 51.56, 289.87°)
OKLaboklab(44.77% -0.0115 -0.1393)
OKLCHoklch(44.77% 0.14 265.3)
XYZxyz(10.2819, 8.6018, 34.8297)
Luminance0.0860 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EA1 #A1812E
analogous
#2E88A1 #2E4EA1 #472EA1
triadic
#2E4EA1 #A12E4E #4EA12E
tetradic
#2E4EA1 #A12E88 #A1812E #2EA147
square
#2E4EA1 #A12E88 #A1812E #2EA147
split-complementary
#2E4EA1 #A1472E #88A12E
monochromatic
#132042 #203771 #2E4EA1 #4368C9 #738ED7

Accessibility & contrast

On white

7.72
#2E4EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2E4EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4EA1
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4EA1#FFFFFF#000000##FFFFFF
##2E4EA11.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C58A4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#006270
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e4ea1;
/* rgb */ color: rgb(46, 78, 161);
/* oklch */ color: oklch(44.8% 0.140 265.3);
Tailwind
colors: {
  custom: {
    50: '#767fbd',
    500: '#2e4ea1',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ea1;
$custom-light: #767fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ea1",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 161
  },
  "hsl": {
    "h": 223.304,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44765,
    "c": 0.13979,
    "h": 265.3
  },
  "luminance": 0.08603
}

Semantic roles & 50–950 ramp

primary
#2E4EA1
secondary
#BEA86C
accent
#B549DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E4EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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