#2E5088#2E5088

#2E5088 is a dark, moderate blue. Relative luminance 0.081; OKLCH L 43.5% C 0.101 H 259.9°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2E5088
RGBrgb(46, 80, 136)
HSLhsl(217, 49%, 36%)
HSVhsv(217, 66%, 53%)
CMYKcmyk(66.2%, 41.2%, 0%, 46.7%)
CIE-LABlab(34.18, 6.76, -34.97)
CIE-LCHlch(34.18, 35.62, 280.93°)
OKLaboklab(43.46% -0.0178 -0.0995)
OKLCHoklch(43.46% 0.101 259.9)
XYZxyz(8.4377, 8.0949, 24.4056)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5088 #88662E
analogous
#2E7D88 #2E5088 #392E88
triadic
#2E5088 #882E50 #50882E
tetradic
#2E5088 #882E7D #88662E #2E8839
square
#2E5088 #882E7D #88662E #2E8839
split-complementary
#2E5088 #88392E #7D882E
monochromatic
#0F1A2D #1F355A #2E5088 #3D6BB6 #658CCB

Accessibility & contrast

On white

8.02
#2E5088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2E5088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5088
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5088#FFFFFF#000000##FFFFFF
##2E50881.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37558A
Deuteranopia (green-blind)
#2A4D87
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5088;
/* rgb */ color: rgb(46, 80, 136);
/* oklch */ color: oklch(43.5% 0.101 259.9);
Tailwind
colors: {
  custom: {
    50: '#7080ab',
    500: '#2e5088',
    950: '#000000',
  },
}
SCSS
$custom: #2e5088;
$custom-light: #7080ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5088",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 136
  },
  "hsl": {
    "h": 217.333,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43459,
    "c": 0.10112,
    "h": 259.9
  },
  "luminance": 0.08096
}

Semantic roles & 50–950 ramp

primary
#2E5088
secondary
#B29360
accent
#A54FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E5088

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

Preview Lab → · Contrast checker → · Palette generator →

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