#2E4C8D#2E4C8D

#2E4C8D is a dark, moderate blue. Relative luminance 0.077; OKLCH L 42.9% C 0.113 H 263.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2E4C8D
RGBrgb(46, 76, 141)
HSLhsl(221, 51%, 37%)
HSVhsv(221, 67%, 55%)
CMYKcmyk(67.4%, 46.1%, 0%, 44.7%)
CIE-LABlab(33.29, 11.29, -39.46)
CIE-LCHlch(33.29, 41.04, 285.97°)
OKLaboklab(42.87% -0.0125 -0.1128)
OKLCHoklch(42.87% 0.113 263.7)
XYZxyz(8.5172, 7.6720, 26.2261)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4C8D #8D6F2E
analogous
#2E7C8D #2E4C8D #402E8D
triadic
#2E4C8D #8D2E4C #4C8D2E
tetradic
#2E4C8D #8D2E7C #8D6F2E #2E8D40
square
#2E4C8D #8D2E7C #8D6F2E #2E8D40
split-complementary
#2E4C8D #8D402E #7C8D2E
monochromatic
#101A31 #1F335F #2E4C8D #3D65BB #6888CE

Accessibility & contrast

On white

8.29
#2E4C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2E4C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4C8D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4C8D#FFFFFF#000000##FFFFFF
##2E4C8D1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C538F
Deuteranopia (green-blind)
#1C4A8C
Tritanopia (blue-blind)
#005B65
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4c8d;
/* rgb */ color: rgb(46, 76, 141);
/* oklch */ color: oklch(42.9% 0.113 263.7);
Tailwind
colors: {
  custom: {
    50: '#717daf',
    500: '#2e4c8d',
    950: '#000000',
  },
}
SCSS
$custom: #2e4c8d;
$custom-light: #717daf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4c8d",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 141
  },
  "hsl": {
    "h": 221.053,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42872,
    "c": 0.11345,
    "h": 263.7
  },
  "luminance": 0.07673
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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