#2E4A8F#2E4A8F

#2E4A8F is a dark, moderate blue. Relative luminance 0.075; OKLCH L 42.6% C 0.119 H 265.1°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2E4A8F
RGBrgb(46, 74, 143)
HSLhsl(223, 51%, 37%)
HSVhsv(223, 68%, 56%)
CMYKcmyk(67.8%, 48.3%, 0%, 43.9%)
CIE-LABlab(32.83, 13.38, -41.41)
CIE-LCHlch(32.83, 43.52, 287.91°)
OKLaboklab(42.56% -0.0101 -0.1185)
OKLCHoklch(42.56% 0.119 265.1)
XYZxyz(8.5317, 7.4608, 26.9717)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A8F #8F732E
analogous
#2E7B8F #2E4A8F #422E8F
triadic
#2E4A8F #8F2E4A #4A8F2E
tetradic
#2E4A8F #8F2E7B #8F732E #2E8F42
square
#2E4A8F #8F2E7B #8F732E #2E8F42
split-complementary
#2E4A8F #8F422E #7B8F2E
monochromatic
#101A32 #1F3261 #2E4A8F #3D62BD #6986CF

Accessibility & contrast

On white

8.43
#2E4A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4A8F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A8F#FFFFFF#000000##FFFFFF
##2E4A8F1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275292
Deuteranopia (green-blind)
#13498E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e4a8f;
/* rgb */ color: rgb(46, 74, 143);
/* oklch */ color: oklch(42.6% 0.119 265.1);
Tailwind
colors: {
  custom: {
    50: '#727cb0',
    500: '#2e4a8f',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a8f;
$custom-light: #727cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a8f",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 143
  },
  "hsl": {
    "h": 222.68,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42564,
    "c": 0.11897,
    "h": 265.1
  },
  "luminance": 0.07462
}

Semantic roles & 50–950 ramp

primary
#2E4A8F
secondary
#B69E63
accent
#B24DDB
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2E4A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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