#2E4587#2E4587

#2E4587 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.114 H 266.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#2E4587
RGBrgb(46, 69, 135)
HSLhsl(224, 49%, 35%)
HSVhsv(224, 66%, 53%)
CMYKcmyk(65.9%, 48.9%, 0%, 47.1%)
CIE-LABlab(30.84, 13.74, -39.69)
CIE-LCHlch(30.84, 42.00, 289.10°)
OKLaboklab(40.87% -0.0062 -0.1135)
OKLCHoklch(40.87% 0.114 266.9)
XYZxyz(7.6265, 6.5857, 23.7862)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4587 #87702E
analogous
#2E7187 #2E4587 #432E87
triadic
#2E4587 #872E45 #45872E
tetradic
#2E4587 #872E71 #87702E #2E8743
square
#2E4587 #872E71 #87702E #2E8743
split-complementary
#2E4587 #87432E #71872E
monochromatic
#0F162C #1E2E59 #2E4587 #3E5CB5 #657FCA

Accessibility & contrast

On white

9.06
#2E4587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2E4587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4587
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4587#FFFFFF#000000##FFFFFF
##2E45871.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D89
Deuteranopia (green-blind)
#124586
Tritanopia (blue-blind)
#00545F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4587;
/* rgb */ color: rgb(46, 69, 135);
/* oklch */ color: oklch(40.9% 0.114 266.9);
Tailwind
colors: {
  custom: {
    50: '#7178aa',
    500: '#2e4587',
    950: '#000000',
  },
}
SCSS
$custom: #2e4587;
$custom-light: #7178aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4587",
  "rgb": {
    "r": 46,
    "g": 69,
    "b": 135
  },
  "hsl": {
    "h": 224.494,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.40873,
    "c": 0.11372,
    "h": 266.9
  },
  "luminance": 0.06586
}

Semantic roles & 50–950 ramp

primary
#2E4587
secondary
#B19C60
accent
#B54FD9
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E4587

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

Preview Lab → · Contrast checker → · Palette generator →

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