#2E4AA2#2E4AA2

#2E4AA2 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.0% C 0.146 H 266.9°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2E4AA2
RGBrgb(46, 74, 162)
HSLhsl(226, 56%, 41%)
HSVhsv(226, 72%, 64%)
CMYKcmyk(71.6%, 54.3%, 0%, 36.5%)
CIE-LABlab(34.16, 20.57, -50.78)
CIE-LCHlch(34.16, 54.79, 292.05°)
OKLaboklab(44% -0.0079 -0.1461)
OKLCHoklch(44% 0.146 266.9)
XYZxyz(10.0948, 8.0860, 35.2042)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4AA2 #A2862E
analogous
#2E84A2 #2E4AA2 #4C2EA2
triadic
#2E4AA2 #A22E4A #4AA22E
tetradic
#2E4AA2 #A22E84 #A2862E #2EA24C
square
#2E4AA2 #A22E84 #A2862E #2EA24C
split-complementary
#2E4AA2 #A24C2E #84A22E
monochromatic
#131E43 #203472 #2E4AA2 #4364CA #738BD7

Accessibility & contrast

On white

8.02
#2E4AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2E4AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4AA2
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4AA2#FFFFFF#000000##FFFFFF
##2E4AA21.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0756A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4aa2;
/* rgb */ color: rgb(46, 74, 162);
/* oklch */ color: oklch(44.0% 0.146 266.9);
Tailwind
colors: {
  custom: {
    50: '#767cbe',
    500: '#2e4aa2',
    950: '#000000',
  },
}
SCSS
$custom: #2e4aa2;
$custom-light: #767cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4aa2",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 225.517,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43997,
    "c": 0.14633,
    "h": 266.9
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#2E4AA2
secondary
#BFAB6D
accent
#BB49DF
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2E4AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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