#2E4A9E#2E4A9E

#2E4A9E is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.141 H 266.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2E4A9E
RGBrgb(46, 74, 158)
HSLhsl(225, 55%, 40%)
HSVhsv(225, 71%, 62%)
CMYKcmyk(70.9%, 53.2%, 0%, 38%)
CIE-LABlab(33.87, 19.06, -48.85)
CIE-LCHlch(33.87, 52.44, 291.32°)
OKLaboklab(43.68% -0.0083 -0.1404)
OKLCHoklch(43.68% 0.141 266.6)
XYZxyz(9.7449, 7.9460, 33.3613)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A9E #9E822E
analogous
#2E829E #2E4A9E #4A2E9E
triadic
#2E4A9E #9E2E4A #4A9E2E
tetradic
#2E4A9E #9E2E82 #9E822E #2E9E4A
square
#2E4A9E #9E2E82 #9E822E #2E9E4A
split-complementary
#2E4A9E #9E4A2E #829E2E
monochromatic
#121E3F #20346F #2E4A9E #4163C8 #718AD6

Accessibility & contrast

On white

8.11
#2E4A9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2E4A9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A9E
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A9E#FFFFFF#000000##FFFFFF
##2E4A9E1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1255A1
Deuteranopia (green-blind)
#004B9C
Tritanopia (blue-blind)
#005E6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e4a9e;
/* rgb */ color: rgb(46, 74, 158);
/* oklch */ color: oklch(43.7% 0.141 266.6);
Tailwind
colors: {
  custom: {
    50: '#757cbb',
    500: '#2e4a9e',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a9e;
$custom-light: #757cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a9e",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 158
  },
  "hsl": {
    "h": 225,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.43684,
    "c": 0.14066,
    "h": 266.6
  },
  "luminance": 0.07947
}

Semantic roles & 50–950 ramp

primary
#2E4A9E
secondary
#BDA86B
accent
#B94ADE
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2E4A9E

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

Preview Lab → · Contrast checker → · Palette generator →

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