#2E4D88#2E4D88

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

Color values

HEX#2E4D88
RGBrgb(46, 77, 136)
HSLhsl(219, 49%, 36%)
HSVhsv(219, 66%, 53%)
CMYKcmyk(66.2%, 43.4%, 0%, 46.7%)
CIE-LABlab(33.28, 8.74, -36.41)
CIE-LCHlch(33.28, 37.45, 283.50°)
OKLaboklab(42.76% -0.0145 -0.1038)
OKLCHoklch(42.76% 0.105 262)
XYZxyz(8.2230, 7.6654, 24.3340)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D88 #88692E
analogous
#2E7A88 #2E4D88 #3C2E88
triadic
#2E4D88 #882E4D #4D882E
tetradic
#2E4D88 #882E7A #88692E #2E883C
square
#2E4D88 #882E7A #88692E #2E883C
split-complementary
#2E4D88 #883C2E #7A882E
monochromatic
#0F192D #1F335A #2E4D88 #3D67B6 #6588CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4D88#FFFFFF#000000##FFFFFF
##2E4D881.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)
#32538A
Deuteranopia (green-blind)
#244A87
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e4d88;
/* rgb */ color: rgb(46, 77, 136);
/* oklch */ color: oklch(42.8% 0.105 262.0);
Tailwind
colors: {
  custom: {
    50: '#707eab',
    500: '#2e4d88',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d88;
$custom-light: #707eab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d88",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 136
  },
  "hsl": {
    "h": 219.333,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4276,
    "c": 0.10482,
    "h": 262
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

primary
#2E4D88
secondary
#B29660
accent
#A94FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4D88

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

Preview Lab → · Contrast checker → · Palette generator →

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