#2E4B7A#2E4B7A

#2E4B7A is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.4% C 0.087 H 259.6°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2E4B7A
RGBrgb(46, 75, 122)
HSLhsl(217, 45%, 33%)
HSVhsv(217, 62%, 48%)
CMYKcmyk(62.3%, 38.5%, 0%, 52.2%)
CIE-LABlab(31.85, 4.88, -30.02)
CIE-LCHlch(31.85, 30.41, 279.23°)
OKLaboklab(41.39% -0.0156 -0.0851)
OKLCHoklch(41.39% 0.087 259.6)
XYZxyz(7.1544, 7.0175, 19.3861)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B7A #7A5D2E
analogous
#2E717A #2E4B7A #372E7A
triadic
#2E4B7A #7A2E4B #4B7A2E
tetradic
#2E4B7A #7A2E71 #7A5D2E #2E7A37
square
#2E4B7A #7A2E71 #7A5D2E #2E7A37
split-complementary
#2E4B7A #7A372E #717A2E
monochromatic
#0C1421 #1D304E #2E4B7A #3F66A6 #6085C3

Accessibility & contrast

On white

8.74
#2E4B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E4B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B7A
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B7A#FFFFFF#000000##FFFFFF
##2E4B7A1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7C
Deuteranopia (green-blind)
#2D4879
Tritanopia (blue-blind)
#00565C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e4b7a;
/* rgb */ color: rgb(46, 75, 122);
/* oklch */ color: oklch(41.4% 0.087 259.6);
Tailwind
colors: {
  custom: {
    50: '#6e7da1',
    500: '#2e4b7a',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b7a;
$custom-light: #6e7da1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b7a",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 122
  },
  "hsl": {
    "h": 217.105,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41386,
    "c": 0.08652,
    "h": 259.6
  },
  "luminance": 0.07018
}

Semantic roles & 50–950 ramp

primary
#2E4B7A
secondary
#AA8B5A
accent
#A353D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #2E4B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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