#2E5087#2E5087

#2E5087 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.4% C 0.100 H 259.6°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#2E5087
RGBrgb(46, 80, 135)
HSLhsl(217, 49%, 35%)
HSVhsv(217, 66%, 53%)
CMYKcmyk(65.9%, 40.7%, 0%, 47.1%)
CIE-LABlab(34.12, 6.38, -34.45)
CIE-LCHlch(34.12, 35.04, 280.50°)
OKLaboklab(43.4% -0.018 -0.098)
OKLCHoklch(43.4% 0.1 259.6)
XYZxyz(8.3670, 8.0666, 24.0331)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5087 #87652E
analogous
#2E7C87 #2E5087 #392E87
triadic
#2E5087 #872E50 #50872E
tetradic
#2E5087 #872E7C #87652E #2E8739
square
#2E5087 #872E7C #87652E #2E8739
split-complementary
#2E5087 #87392E #7C872E
monochromatic
#0F1A2C #1E3559 #2E5087 #3E6BB5 #658CCA

Accessibility & contrast

On white

8.04
#2E5087 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2E5087 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5087
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5087#FFFFFF#000000##FFFFFF
##2E50871.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385589
Deuteranopia (green-blind)
#2B4C86
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5087;
/* rgb */ color: rgb(46, 80, 135);
/* oklch */ color: oklch(43.4% 0.100 259.6);
Tailwind
colors: {
  custom: {
    50: '#7080aa',
    500: '#2e5087',
    950: '#000000',
  },
}
SCSS
$custom: #2e5087;
$custom-light: #7080aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5087",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 135
  },
  "hsl": {
    "h": 217.079,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.43395,
    "c": 0.09966,
    "h": 259.6
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

primary
#2E5087
secondary
#B19260
accent
#A44FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E5087

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

Preview Lab → · Contrast checker → · Palette generator →

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