#2E5387#2E5387

#2E5387 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.1% C 0.096 H 257.2°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2E5387
RGBrgb(46, 83, 135)
HSLhsl(215, 49%, 35%)
HSVhsv(215, 66%, 53%)
CMYKcmyk(65.9%, 38.5%, 0%, 47.1%)
CIE-LABlab(35.03, 4.42, -33.00)
CIE-LCHlch(35.03, 33.30, 277.63°)
OKLaboklab(44.11% -0.0213 -0.0937)
OKLCHoklch(44.11% 0.096 257.2)
XYZxyz(8.5916, 8.5158, 24.1079)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5387 #87622E
analogous
#2E7F87 #2E5387 #352E87
triadic
#2E5387 #872E53 #53872E
tetradic
#2E5387 #872E7F #87622E #2E8735
square
#2E5387 #872E7F #87622E #2E8735
split-complementary
#2E5387 #87352E #7F872E
monochromatic
#0F1B2C #1E3759 #2E5387 #3E6FB5 #658FCA

Accessibility & contrast

On white

7.77
#2E5387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2E5387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5387
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5387#FFFFFF#000000##FFFFFF
##2E53871.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5789
Deuteranopia (green-blind)
#304F86
Tritanopia (blue-blind)
#005F66
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2e5387;
/* rgb */ color: rgb(46, 83, 135);
/* oklch */ color: oklch(44.1% 0.096 257.2);
Tailwind
colors: {
  custom: {
    50: '#7083aa',
    500: '#2e5387',
    950: '#000000',
  },
}
SCSS
$custom: #2e5387;
$custom-light: #7083aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5387",
  "rgb": {
    "r": 46,
    "g": 83,
    "b": 135
  },
  "hsl": {
    "h": 215.056,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44105,
    "c": 0.09613,
    "h": 257.2
  },
  "luminance": 0.08517
}

Semantic roles & 50–950 ramp

primary
#2E5387
secondary
#B18F60
accent
#9F4FD9
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2E5387

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

Preview Lab → · Contrast checker → · Palette generator →

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