#2E5084#2E5084

#2E5084 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.2% C 0.095 H 258.6°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2E5084
RGBrgb(46, 80, 132)
HSLhsl(216, 48%, 35%)
HSVhsv(216, 65%, 52%)
CMYKcmyk(65.2%, 39.4%, 0%, 48.2%)
CIE-LABlab(33.95, 5.27, -32.88)
CIE-LCHlch(33.95, 33.30, 279.10°)
OKLaboklab(43.2% -0.0188 -0.0934)
OKLCHoklch(43.2% 0.095 258.6)
XYZxyz(8.1588, 7.9833, 22.9363)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5084 #84622E
analogous
#2E7B84 #2E5084 #372E84
triadic
#2E5084 #842E50 #50842E
tetradic
#2E5084 #842E7B #84622E #2E8437
square
#2E5084 #842E7B #84622E #2E8437
split-complementary
#2E5084 #84372E #7B842E
monochromatic
#0E1929 #1E3457 #2E5084 #3E6CB1 #648CC9

Accessibility & contrast

On white

8.09
#2E5084 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2E5084 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5084
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5084#FFFFFF#000000##FFFFFF
##2E50841.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395486
Deuteranopia (green-blind)
#2D4C83
Tritanopia (blue-blind)
#005C63
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5084;
/* rgb */ color: rgb(46, 80, 132);
/* oklch */ color: oklch(43.2% 0.095 258.6);
Tailwind
colors: {
  custom: {
    50: '#7080a8',
    500: '#2e5084',
    950: '#000000',
  },
}
SCSS
$custom: #2e5084;
$custom-light: #7080a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5084",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 132
  },
  "hsl": {
    "h": 216.279,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43204,
    "c": 0.09529,
    "h": 258.6
  },
  "luminance": 0.07984
}

Semantic roles & 50–950 ramp

primary
#2E5084
secondary
#B08F5E
accent
#A250D8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A0F
muted
#7B7C7F

Preview Lab

Preview with #2E5084

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

Preview Lab → · Contrast checker → · Palette generator →

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