#2E4B9E#2E4B9E

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

Color values

HEX#2E4B9E
RGBrgb(46, 75, 158)
HSLhsl(224, 55%, 40%)
HSVhsv(224, 71%, 62%)
CMYKcmyk(70.9%, 52.5%, 0%, 38%)
CIE-LABlab(34.15, 18.39, -48.40)
CIE-LCHlch(34.15, 51.77, 290.81°)
OKLaboklab(43.9% -0.0091 -0.1391)
OKLCHoklch(43.9% 0.139 266.2)
XYZxyz(9.8122, 8.0806, 33.3837)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B9E #9E812E
analogous
#2E839E #2E4B9E #492E9E
triadic
#2E4B9E #9E2E4B #4B9E2E
tetradic
#2E4B9E #9E2E83 #9E812E #2E9E49
square
#2E4B9E #9E2E83 #9E812E #2E9E49
split-complementary
#2E4B9E #9E492E #839E2E
monochromatic
#121E3F #20356F #2E4B9E #4164C8 #718BD6

Accessibility & contrast

On white

8.03
#2E4B9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4B9E
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B9E#FFFFFF#000000##FFFFFF
##2E4B9E1.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4b9e;
/* rgb */ color: rgb(46, 75, 158);
/* oklch */ color: oklch(43.9% 0.139 266.2);
Tailwind
colors: {
  custom: {
    50: '#757cbb',
    500: '#2e4b9e',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b9e;
$custom-light: #757cbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b9e",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 158
  },
  "hsl": {
    "h": 224.464,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.43896,
    "c": 0.13938,
    "h": 266.2
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4B9E

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

Preview Lab → · Contrast checker → · Palette generator →

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