#2E4687#2E4687

#2E4687 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.1% C 0.112 H 266.3°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2E4687
RGBrgb(46, 70, 135)
HSLhsl(224, 49%, 35%)
HSVhsv(224, 66%, 53%)
CMYKcmyk(65.9%, 48.1%, 0%, 47.1%)
CIE-LABlab(31.14, 13.07, -39.22)
CIE-LCHlch(31.14, 41.34, 288.43°)
OKLaboklab(41.1% -0.0072 -0.1121)
OKLCHoklch(41.1% 0.112 266.3)
XYZxyz(7.6885, 6.7097, 23.8069)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4687 #876F2E
analogous
#2E7287 #2E4687 #422E87
triadic
#2E4687 #872E46 #46872E
tetradic
#2E4687 #872E72 #876F2E #2E8742
square
#2E4687 #872E72 #876F2E #2E8742
split-complementary
#2E4687 #87422E #72872E
monochromatic
#0F172C #1E2E59 #2E4687 #3E5EB5 #6580CA

Accessibility & contrast

On white

8.97
#2E4687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2E4687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4687
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4687#FFFFFF#000000##FFFFFF
##2E46871.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E89
Deuteranopia (green-blind)
#154586
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4687;
/* rgb */ color: rgb(46, 70, 135);
/* oklch */ color: oklch(41.1% 0.112 266.3);
Tailwind
colors: {
  custom: {
    50: '#7079aa',
    500: '#2e4687',
    950: '#000000',
  },
}
SCSS
$custom: #2e4687;
$custom-light: #7079aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4687",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 135
  },
  "hsl": {
    "h": 223.82,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.41096,
    "c": 0.11238,
    "h": 266.3
  },
  "luminance": 0.0671
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E4687

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

Preview Lab → · Contrast checker → · Palette generator →

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