#2E5288#2E5288

#2E5288 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 43.9% C 0.099 H 258.3°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2E5288
RGBrgb(46, 82, 136)
HSLhsl(216, 49%, 36%)
HSVhsv(216, 66%, 53%)
CMYKcmyk(66.2%, 39.7%, 0%, 46.7%)
CIE-LABlab(34.79, 5.44, -34.01)
CIE-LCHlch(34.79, 34.44, 279.09°)
OKLaboklab(43.93% -0.02 -0.0967)
OKLCHoklch(43.93% 0.099 258.3)
XYZxyz(8.5864, 8.3922, 24.4551)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5288 #88642E
analogous
#2E7F88 #2E5288 #372E88
triadic
#2E5288 #882E52 #52882E
tetradic
#2E5288 #882E7F #88642E #2E8837
square
#2E5288 #882E7F #88642E #2E8837
split-complementary
#2E5288 #88372E #7F882E
monochromatic
#0F1B2D #1F365A #2E5288 #3D6EB6 #658ECB

Accessibility & contrast

On white

7.84
#2E5288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2E5288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5288
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5288#FFFFFF#000000##FFFFFF
##2E52881.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A568A
Deuteranopia (green-blind)
#2D4E87
Tritanopia (blue-blind)
#005E66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e5288;
/* rgb */ color: rgb(46, 82, 136);
/* oklch */ color: oklch(43.9% 0.099 258.3);
Tailwind
colors: {
  custom: {
    50: '#7082ab',
    500: '#2e5288',
    950: '#000000',
  },
}
SCSS
$custom: #2e5288;
$custom-light: #7082ab;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5288",
  "rgb": {
    "r": 46,
    "g": 82,
    "b": 136
  },
  "hsl": {
    "h": 216,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4393,
    "c": 0.09873,
    "h": 258.3
  },
  "luminance": 0.08393
}

Semantic roles & 50–950 ramp

primary
#2E5288
secondary
#B29160
accent
#A24FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E5288

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

Preview Lab → · Contrast checker → · Palette generator →

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