#2E4C8F#2E4C8F

#2E4C8F is a dark, moderate blue. Relative luminance 0.077; OKLCH L 43.0% C 0.116 H 264.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2E4C8F
RGBrgb(46, 76, 143)
HSLhsl(221, 51%, 37%)
HSVhsv(221, 68%, 56%)
CMYKcmyk(67.8%, 46.9%, 0%, 43.9%)
CIE-LABlab(33.42, 12.04, -40.47)
CIE-LCHlch(33.42, 42.23, 286.57°)
OKLaboklab(43.01% -0.0121 -0.1157)
OKLCHoklch(43.01% 0.116 264)
XYZxyz(8.6673, 7.7321, 27.0169)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4C8F #8F712E
analogous
#2E7D8F #2E4C8F #402E8F
triadic
#2E4C8F #8F2E4C #4C8F2E
tetradic
#2E4C8F #8F2E7D #8F712E #2E8F40
square
#2E4C8F #8F2E7D #8F712E #2E8F40
split-complementary
#2E4C8F #8F402E #7D8F2E
monochromatic
#101B32 #1F3361 #2E4C8F #3D65BD #6988CF

Accessibility & contrast

On white

8.25
#2E4C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2E4C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4C8F
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4C8F#FFFFFF#000000##FFFFFF
##2E4C8F1.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5392
Deuteranopia (green-blind)
#194A8E
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4c8f;
/* rgb */ color: rgb(46, 76, 143);
/* oklch */ color: oklch(43.0% 0.116 264.0);
Tailwind
colors: {
  custom: {
    50: '#727db0',
    500: '#2e4c8f',
    950: '#000000',
  },
}
SCSS
$custom: #2e4c8f;
$custom-light: #727db0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4c8f",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 221.443,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43012,
    "c": 0.11639,
    "h": 264
  },
  "luminance": 0.07733
}

Semantic roles & 50–950 ramp

primary
#2E4C8F
secondary
#B69C63
accent
#AF4DDB
background
#F7F7FA
surface
#EDEEF5
border
#C8C9CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2E4C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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