#2E4B7D#2E4B7D

#2E4B7D is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.6% C 0.091 H 260.6°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#2E4B7D
RGBrgb(46, 75, 125)
HSLhsl(218, 46%, 34%)
HSVhsv(218, 63%, 49%)
CMYKcmyk(63.2%, 40%, 0%, 51%)
CIE-LABlab(32.02, 5.98, -31.62)
CIE-LCHlch(32.02, 32.18, 280.71°)
OKLaboklab(41.57% -0.0148 -0.0898)
OKLCHoklch(41.57% 0.091 260.6)
XYZxyz(7.3432, 7.0930, 20.3802)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B7D #7D602E
analogous
#2E727D #2E4B7D #382E7D
triadic
#2E4B7D #7D2E4B #4B7D2E
tetradic
#2E4B7D #7D2E72 #7D602E #2E7D38
square
#2E4B7D #7D2E72 #7D602E #2E7D38
split-complementary
#2E4B7D #7D382E #727D2E
monochromatic
#0D1524 #1E3050 #2E4B7D #3E66AA #6185C5

Accessibility & contrast

On white

8.68
#2E4B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2E4B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B7D
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B7D#FFFFFF#000000##FFFFFF
##2E4B7D1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#2B487C
Tritanopia (blue-blind)
#00565E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4b7d;
/* rgb */ color: rgb(46, 75, 125);
/* oklch */ color: oklch(41.6% 0.091 260.6);
Tailwind
colors: {
  custom: {
    50: '#6e7ca3',
    500: '#2e4b7d',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b7d;
$custom-light: #6e7ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b7d",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 125
  },
  "hsl": {
    "h": 217.975,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41574,
    "c": 0.09098,
    "h": 260.6
  },
  "luminance": 0.07094
}

Semantic roles & 50–950 ramp

primary
#2E4B7D
secondary
#AB8E5B
accent
#A552D6
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E4B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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