#2E4A7A#2E4A7A

#2E4A7A is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.1% C 0.088 H 260.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2E4A7A
RGBrgb(46, 74, 122)
HSLhsl(218, 45%, 33%)
HSVhsv(218, 62%, 48%)
CMYKcmyk(62.3%, 39.3%, 0%, 52.2%)
CIE-LABlab(31.54, 5.54, -30.51)
CIE-LCHlch(31.54, 31.01, 280.29°)
OKLaboklab(41.15% -0.0144 -0.0865)
OKLCHoklch(41.15% 0.088 260.6)
XYZxyz(7.0871, 6.8829, 19.3636)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A7A #7A5E2E
analogous
#2E707A #2E4A7A #382E7A
triadic
#2E4A7A #7A2E4A #4A7A2E
tetradic
#2E4A7A #7A2E70 #7A5E2E #2E7A38
square
#2E4A7A #7A2E70 #7A5E2E #2E7A38
split-complementary
#2E4A7A #7A382E #707A2E
monochromatic
#0C1421 #1D2F4E #2E4A7A #3F65A6 #6084C3

Accessibility & contrast

On white

8.84
#2E4A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2E4A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A7A
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A7A#FFFFFF#000000##FFFFFF
##2E4A7A1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364E7C
Deuteranopia (green-blind)
#2B4779
Tritanopia (blue-blind)
#00555C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e4a7a;
/* rgb */ color: rgb(46, 74, 122);
/* oklch */ color: oklch(41.1% 0.088 260.6);
Tailwind
colors: {
  custom: {
    50: '#6e7ca1',
    500: '#2e4a7a',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a7a;
$custom-light: #6e7ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a7a",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 122
  },
  "hsl": {
    "h": 217.895,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41147,
    "c": 0.08773,
    "h": 260.6
  },
  "luminance": 0.06884
}

Semantic roles & 50–950 ramp

primary
#2E4A7A
secondary
#AA8C5A
accent
#A553D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #2E4A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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