#2E4AA1#2E4AA1

#2E4AA1 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.145 H 266.8°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2E4AA1
RGBrgb(46, 74, 161)
HSLhsl(225, 56%, 41%)
HSVhsv(225, 71%, 63%)
CMYKcmyk(71.4%, 54%, 0%, 36.9%)
CIE-LABlab(34.09, 20.20, -50.30)
CIE-LCHlch(34.09, 54.20, 291.87°)
OKLaboklab(43.92% -0.008 -0.1447)
OKLCHoklch(43.92% 0.145 266.8)
XYZxyz(10.0063, 8.0506, 34.7379)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4AA1 #A1852E
analogous
#2E84A1 #2E4AA1 #4B2EA1
triadic
#2E4AA1 #A12E4A #4AA12E
tetradic
#2E4AA1 #A12E84 #A1852E #2EA14B
square
#2E4AA1 #A12E84 #A1852E #2EA14B
split-complementary
#2E4AA1 #A14B2E #84A12E
monochromatic
#131E42 #203471 #2E4AA1 #4364C9 #738BD7

Accessibility & contrast

On white

8.04
#2E4AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2E4AA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4AA1
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4AA1#FFFFFF#000000##FFFFFF
##2E4AA11.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B56A4
Deuteranopia (green-blind)
#004B9F
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4aa1;
/* rgb */ color: rgb(46, 74, 161);
/* oklch */ color: oklch(43.9% 0.145 266.8);
Tailwind
colors: {
  custom: {
    50: '#767cbd',
    500: '#2e4aa1',
    950: '#000000',
  },
}
SCSS
$custom: #2e4aa1;
$custom-light: #767cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4aa1",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 161
  },
  "hsl": {
    "h": 225.391,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43918,
    "c": 0.14492,
    "h": 266.8
  },
  "luminance": 0.08052
}

Semantic roles & 50–950 ramp

primary
#2E4AA1
secondary
#BEAA6C
accent
#BA49DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E4AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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