#2E4B8A#2E4B8A

#2E4B8A is a dark, moderate blue. Relative luminance 0.074; OKLCH L 42.4% C 0.110 H 263.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2E4B8A
RGBrgb(46, 75, 138)
HSLhsl(221, 50%, 36%)
HSVhsv(221, 67%, 54%)
CMYKcmyk(66.7%, 45.7%, 0%, 45.9%)
CIE-LABlab(32.80, 10.83, -38.39)
CIE-LCHlch(32.80, 39.89, 285.75°)
OKLaboklab(42.44% -0.012 -0.1097)
OKLCHoklch(42.44% 0.11 263.8)
XYZxyz(8.2286, 7.4472, 25.0436)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B8A #8A6D2E
analogous
#2E798A #2E4B8A #3F2E8A
triadic
#2E4B8A #8A2E4B #4B8A2E
tetradic
#2E4B8A #8A2E79 #8A6D2E #2E8A3F
square
#2E4B8A #8A2E79 #8A6D2E #2E8A3F
split-complementary
#2E4B8A #8A3F2E #798A2E
monochromatic
#0F192E #1F325C #2E4B8A #3D64B8 #6686CC

Accessibility & contrast

On white

8.44
#2E4B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2E4B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B8A
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B8A#FFFFFF#000000##FFFFFF
##2E4B8A1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528C
Deuteranopia (green-blind)
#1E4989
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4b8a;
/* rgb */ color: rgb(46, 75, 138);
/* oklch */ color: oklch(42.4% 0.110 263.8);
Tailwind
colors: {
  custom: {
    50: '#717cac',
    500: '#2e4b8a',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b8a;
$custom-light: #717cac;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b8a",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 138
  },
  "hsl": {
    "h": 221.087,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.42437,
    "c": 0.11031,
    "h": 263.8
  },
  "luminance": 0.07448
}

Semantic roles & 50–950 ramp

primary
#2E4B8A
secondary
#B39961
accent
#AE4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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