#2E4A7D#2E4A7D

#2E4A7D is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.3% C 0.092 H 261.5°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#2E4A7D
RGBrgb(46, 74, 125)
HSLhsl(219, 46%, 34%)
HSVhsv(219, 63%, 49%)
CMYKcmyk(63.2%, 40.8%, 0%, 51%)
CIE-LABlab(31.71, 6.65, -32.10)
CIE-LCHlch(31.71, 32.78, 281.70°)
OKLaboklab(41.34% -0.0136 -0.0912)
OKLCHoklch(41.34% 0.092 261.5)
XYZxyz(7.2759, 6.9584, 20.3577)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A7D #7D612E
analogous
#2E717D #2E4A7D #392E7D
triadic
#2E4A7D #7D2E4A #4A7D2E
tetradic
#2E4A7D #7D2E71 #7D612E #2E7D39
square
#2E4A7D #7D2E71 #7D612E #2E7D39
split-complementary
#2E4A7D #7D392E #717D2E
monochromatic
#0D1524 #1E3050 #2E4A7D #3E64AA #6184C5

Accessibility & contrast

On white

8.78
#2E4A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2E4A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A7D
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A7D#FFFFFF#000000##FFFFFF
##2E4A7D1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F7F
Deuteranopia (green-blind)
#29477C
Tritanopia (blue-blind)
#00555D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4a7d;
/* rgb */ color: rgb(46, 74, 125);
/* oklch */ color: oklch(41.3% 0.092 261.5);
Tailwind
colors: {
  custom: {
    50: '#6e7ca3',
    500: '#2e4a7d',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a7d;
$custom-light: #6e7ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a7d",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 218.734,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.41338,
    "c": 0.09223,
    "h": 261.5
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#2E4A7D
secondary
#AB8F5B
accent
#A752D6
background
#F6F7FA
surface
#ECEEF3
border
#C7C9CD
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E4A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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