#2E4D8D#2E4D8D

#2E4D8D is a dark, moderate blue. Relative luminance 0.078; OKLCH L 43.1% C 0.112 H 263.1°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#2E4D8D
RGBrgb(46, 77, 141)
HSLhsl(220, 51%, 37%)
HSVhsv(220, 67%, 55%)
CMYKcmyk(67.4%, 45.4%, 0%, 44.7%)
CIE-LABlab(33.59, 10.62, -38.98)
CIE-LCHlch(33.59, 40.40, 285.24°)
OKLaboklab(43.1% -0.0135 -0.1113)
OKLCHoklch(43.1% 0.112 263.1)
XYZxyz(8.5866, 7.8109, 26.2493)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D8D #8D6E2E
analogous
#2E7D8D #2E4D8D #3F2E8D
triadic
#2E4D8D #8D2E4D #4D8D2E
tetradic
#2E4D8D #8D2E7D #8D6E2E #2E8D3F
square
#2E4D8D #8D2E7D #8D6E2E #2E8D3F
split-complementary
#2E4D8D #8D3F2E #7D8D2E
monochromatic
#101B31 #1F345F #2E4D8D #3D66BB #6889CE

Accessibility & contrast

On white

8.20
#2E4D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2E4D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D8D
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D8D#FFFFFF#000000##FFFFFF
##2E4D8D1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E548F
Deuteranopia (green-blind)
#1E4B8C
Tritanopia (blue-blind)
#005C66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4d8d;
/* rgb */ color: rgb(46, 77, 141);
/* oklch */ color: oklch(43.1% 0.112 263.1);
Tailwind
colors: {
  custom: {
    50: '#717eaf',
    500: '#2e4d8d',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d8d;
$custom-light: #717eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d8d",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 141
  },
  "hsl": {
    "h": 220.421,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43099,
    "c": 0.11217,
    "h": 263.1
  },
  "luminance": 0.07812
}

Semantic roles & 50–950 ramp

primary
#2E4D8D
secondary
#B59A62
accent
#AC4EDA
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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