#2E5086#2E5086

#2E5086 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.3% C 0.098 H 259.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2E5086
RGBrgb(46, 80, 134)
HSLhsl(217, 49%, 35%)
HSVhsv(217, 66%, 53%)
CMYKcmyk(65.7%, 40.3%, 0%, 47.5%)
CIE-LABlab(34.06, 6.01, -33.93)
CIE-LCHlch(34.06, 34.46, 280.05°)
OKLaboklab(43.33% -0.0183 -0.0965)
OKLCHoklch(43.33% 0.098 259.3)
XYZxyz(8.2969, 8.0386, 23.6640)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5086 #86642E
analogous
#2E7C86 #2E5086 #382E86
triadic
#2E5086 #862E50 #50862E
tetradic
#2E5086 #862E7C #86642E #2E8638
square
#2E5086 #862E7C #86642E #2E8638
split-complementary
#2E5086 #86382E #7C862E
monochromatic
#0F1A2B #1E3558 #2E5086 #3E6BB4 #648CCA

Accessibility & contrast

On white

8.05
#2E5086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E5086
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5086#FFFFFF#000000##FFFFFF
##2E50861.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385588
Deuteranopia (green-blind)
#2C4C85
Tritanopia (blue-blind)
#005C64
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5086;
/* rgb */ color: rgb(46, 80, 134);
/* oklch */ color: oklch(43.3% 0.098 259.3);
Tailwind
colors: {
  custom: {
    50: '#7080a9',
    500: '#2e5086',
    950: '#000000',
  },
}
SCSS
$custom: #2e5086;
$custom-light: #7080a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5086",
  "rgb": {
    "r": 46,
    "g": 80,
    "b": 134
  },
  "hsl": {
    "h": 216.818,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43331,
    "c": 0.0982,
    "h": 259.3
  },
  "luminance": 0.08039
}

Semantic roles & 50–950 ramp

primary
#2E5086
secondary
#B1915F
accent
#A34FD8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E5086

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

Preview Lab → · Contrast checker → · Palette generator →

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