#2E4E88#2E4E88

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

Color values

HEX#2E4E88
RGBrgb(46, 78, 136)
HSLhsl(219, 49%, 36%)
HSVhsv(219, 66%, 53%)
CMYKcmyk(66.2%, 42.6%, 0%, 46.7%)
CIE-LABlab(33.58, 8.08, -35.93)
CIE-LCHlch(33.58, 36.83, 282.67°)
OKLaboklab(42.99% -0.0156 -0.1024)
OKLCHoklch(42.99% 0.104 261.3)
XYZxyz(8.2935, 7.8064, 24.3575)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4E88 #88682E
analogous
#2E7B88 #2E4E88 #3B2E88
triadic
#2E4E88 #882E4E #4E882E
tetradic
#2E4E88 #882E7B #88682E #2E883B
square
#2E4E88 #882E7B #88682E #2E883B
split-complementary
#2E4E88 #883B2E #7B882E
monochromatic
#0F1A2D #1F345A #2E4E88 #3D68B6 #658ACB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4E88#FFFFFF#000000##FFFFFF
##2E4E881.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)
#34538A
Deuteranopia (green-blind)
#264B87
Tritanopia (blue-blind)
#005B64
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e4e88;
/* rgb */ color: rgb(46, 78, 136);
/* oklch */ color: oklch(43.0% 0.104 261.3);
Tailwind
colors: {
  custom: {
    50: '#707fab',
    500: '#2e4e88',
    950: '#000000',
  },
}
SCSS
$custom: #2e4e88;
$custom-light: #707fab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4e88",
  "rgb": {
    "r": 46,
    "g": 78,
    "b": 136
  },
  "hsl": {
    "h": 218.667,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.42992,
    "c": 0.10357,
    "h": 261.3
  },
  "luminance": 0.07807
}

Semantic roles & 50–950 ramp

primary
#2E4E88
secondary
#B29560
accent
#A84FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E4E88

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

Preview Lab → · Contrast checker → · Palette generator →

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