#2E5186#2E5186

#2E5186 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.6% C 0.097 H 258.5°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#2E5186
RGBrgb(46, 81, 134)
HSLhsl(216, 49%, 35%)
HSVhsv(216, 66%, 53%)
CMYKcmyk(65.7%, 39.6%, 0%, 47.5%)
CIE-LABlab(34.37, 5.35, -33.45)
CIE-LCHlch(34.37, 33.87, 279.10°)
OKLaboklab(43.57% -0.0194 -0.0951)
OKLCHoklch(43.57% 0.097 258.5)
XYZxyz(8.3707, 8.1861, 23.6886)
Luminance0.0819 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5186 #86632E
analogous
#2E7D86 #2E5186 #372E86
triadic
#2E5186 #862E51 #51862E
tetradic
#2E5186 #862E7D #86632E #2E8637
square
#2E5186 #862E7D #86632E #2E8637
split-complementary
#2E5186 #86372E #7D862E
monochromatic
#0F1A2B #1E3558 #2E5186 #3E6DB4 #648DCA

Accessibility & contrast

On white

7.96
#2E5186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2E5186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5186
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5186#FFFFFF#000000##FFFFFF
##2E51861.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5588
Deuteranopia (green-blind)
#2D4D85
Tritanopia (blue-blind)
#005D65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2e5186;
/* rgb */ color: rgb(46, 81, 134);
/* oklch */ color: oklch(43.6% 0.097 258.5);
Tailwind
colors: {
  custom: {
    50: '#7081a9',
    500: '#2e5186',
    950: '#000000',
  },
}
SCSS
$custom: #2e5186;
$custom-light: #7081a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5186",
  "rgb": {
    "r": 46,
    "g": 81,
    "b": 134
  },
  "hsl": {
    "h": 216.136,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43567,
    "c": 0.09701,
    "h": 258.5
  },
  "luminance": 0.08187
}

Semantic roles & 50–950 ramp

primary
#2E5186
secondary
#B1905F
accent
#A24FD8
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E5186

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

Preview Lab → · Contrast checker → · Palette generator →

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