#2E4688#2E4688

#2E4688 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.2% C 0.114 H 266.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2E4688
RGBrgb(46, 70, 136)
HSLhsl(224, 49%, 36%)
HSVhsv(224, 66%, 53%)
CMYKcmyk(66.2%, 48.5%, 0%, 46.7%)
CIE-LABlab(31.20, 13.44, -39.73)
CIE-LCHlch(31.20, 41.94, 288.69°)
OKLaboklab(41.17% -0.0071 -0.1137)
OKLCHoklch(41.17% 0.114 266.4)
XYZxyz(7.7593, 6.7380, 24.1794)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4688 #88702E
analogous
#2E7388 #2E4688 #432E88
triadic
#2E4688 #882E46 #46882E
tetradic
#2E4688 #882E73 #88702E #2E8843
square
#2E4688 #882E73 #88702E #2E8843
split-complementary
#2E4688 #88432E #73882E
monochromatic
#0F172D #1F2E5A #2E4688 #3D5EB6 #6580CB

Accessibility & contrast

On white

8.94
#2E4688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E4688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4688
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4688#FFFFFF#000000##FFFFFF
##2E46881.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8A
Deuteranopia (green-blind)
#134687
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4688;
/* rgb */ color: rgb(46, 70, 136);
/* oklch */ color: oklch(41.2% 0.114 266.4);
Tailwind
colors: {
  custom: {
    50: '#7179ab',
    500: '#2e4688',
    950: '#000000',
  },
}
SCSS
$custom: #2e4688;
$custom-light: #7179ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4688",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 136
  },
  "hsl": {
    "h": 224,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41168,
    "c": 0.11388,
    "h": 266.4
  },
  "luminance": 0.06739
}

Semantic roles & 50–950 ramp

primary
#2E4688
secondary
#B29C60
accent
#B44FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E4688

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

Preview Lab → · Contrast checker → · Palette generator →

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