#2E4EA0#2E4EA0

#2E4EA0 is a dark, vivid blue. Relative luminance 0.086; OKLCH L 44.7% C 0.138 H 265.2°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#2E4EA0
RGBrgb(46, 78, 160)
HSLhsl(223, 55%, 40%)
HSVhsv(223, 71%, 63%)
CMYKcmyk(71.2%, 51.2%, 0%, 37.3%)
CIE-LABlab(35.14, 17.15, -48.01)
CIE-LCHlch(35.14, 50.98, 289.65°)
OKLaboklab(44.69% -0.0116 -0.1379)
OKLCHoklch(44.69% 0.138 265.2)
XYZxyz(10.1940, 8.5666, 34.3672)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4EA0 #A0802E
analogous
#2E87A0 #2E4EA0 #472EA0
triadic
#2E4EA0 #A02E4E #4EA02E
tetradic
#2E4EA0 #A02E87 #A0802E #2EA047
square
#2E4EA0 #A02E87 #A0802E #2EA047
split-complementary
#2E4EA0 #A0472E #87A02E
monochromatic
#132041 #203770 #2E4EA0 #4268C9 #728ED6

Accessibility & contrast

On white

7.74
#2E4EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#2E4EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4EA0
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4EA0#FFFFFF#000000##FFFFFF
##2E4EA01.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D58A3
Deuteranopia (green-blind)
#004E9E
Tritanopia (blue-blind)
#00616F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2e4ea0;
/* rgb */ color: rgb(46, 78, 160);
/* oklch */ color: oklch(44.7% 0.138 265.2);
Tailwind
colors: {
  custom: {
    50: '#757fbd',
    500: '#2e4ea0',
    950: '#000000',
  },
}
SCSS
$custom: #2e4ea0;
$custom-light: #757fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4ea0",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 160
  },
  "hsl": {
    "h": 223.158,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4469,
    "c": 0.13837,
    "h": 265.2
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#2E4EA0
secondary
#BEA76C
accent
#B549DF
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2E4EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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