#2E4AA0#2E4AA0

#2E4AA0 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.8% C 0.144 H 266.8°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#2E4AA0
RGBrgb(46, 74, 160)
HSLhsl(225, 55%, 40%)
HSVhsv(225, 71%, 63%)
CMYKcmyk(71.2%, 53.7%, 0%, 37.3%)
CIE-LABlab(34.02, 19.82, -49.82)
CIE-LCHlch(34.02, 53.62, 291.69°)
OKLaboklab(43.84% -0.0081 -0.1433)
OKLCHoklch(43.84% 0.144 266.8)
XYZxyz(9.9184, 8.0155, 34.2753)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4AA0 #A0842E
analogous
#2E83A0 #2E4AA0 #4B2EA0
triadic
#2E4AA0 #A02E4A #4AA02E
tetradic
#2E4AA0 #A02E83 #A0842E #2EA04B
square
#2E4AA0 #A02E83 #A0842E #2EA04B
split-complementary
#2E4AA0 #A04B2E #83A02E
monochromatic
#131E41 #203470 #2E4AA0 #4263C9 #728BD6

Accessibility & contrast

On white

8.07
#2E4AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2E4AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4AA0
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4AA0#FFFFFF#000000##FFFFFF
##2E4AA01.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E55A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4aa0;
/* rgb */ color: rgb(46, 74, 160);
/* oklch */ color: oklch(43.8% 0.144 266.8);
Tailwind
colors: {
  custom: {
    50: '#767cbd',
    500: '#2e4aa0',
    950: '#000000',
  },
}
SCSS
$custom: #2e4aa0;
$custom-light: #767cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4aa0",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 160
  },
  "hsl": {
    "h": 225.263,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4384,
    "c": 0.14351,
    "h": 266.8
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

primary
#2E4AA0
secondary
#BEAA6C
accent
#BA49DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2E4AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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