#2E4E7D#2E4E7D

#2E4E7D is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.3% C 0.087 H 257.9°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2E4E7D
RGBrgb(46, 78, 125)
HSLhsl(216, 46%, 34%)
HSVhsv(216, 63%, 49%)
CMYKcmyk(63.2%, 37.6%, 0%, 51%)
CIE-LABlab(32.94, 4.00, -30.16)
CIE-LCHlch(32.94, 30.42, 277.56°)
OKLaboklab(42.29% -0.0183 -0.0855)
OKLCHoklch(42.29% 0.087 257.9)
XYZxyz(7.5515, 7.5096, 20.4496)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E7D #7D5D2E
analogous
#2E757D #2E4E7D #352E7D
triadic
#2E4E7D #7D2E4E #4E7D2E
tetradic
#2E4E7D #7D2E75 #7D5D2E #2E7D35
square
#2E4E7D #7D2E75 #7D5D2E #2E7D35
split-complementary
#2E4E7D #7D352E #757D2E
monochromatic
#0D1624 #1E3250 #2E4E7D #3E6AAA #6189C5

Accessibility & contrast

On white

8.39
#2E4E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2E4E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4E7D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4E7D#FFFFFF#000000##FFFFFF
##2E4E7D1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A527F
Deuteranopia (green-blind)
#2F4A7C
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4e7d;
/* rgb */ color: rgb(46, 78, 125);
/* oklch */ color: oklch(42.3% 0.087 257.9);
Tailwind
colors: {
  custom: {
    50: '#6e7fa3',
    500: '#2e4e7d',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e7d;
$custom-light: #6e7fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e7d",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 215.696,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42291,
    "c": 0.08741,
    "h": 257.9
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#2E4E7D
secondary
#AB8B5B
accent
#A052D6
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E4E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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