#2E5987#2E5987

#2E5987 is a mid, moderate cyan. Relative luminance 0.095; OKLCH L 45.5% C 0.090 H 251.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2E5987
RGBrgb(46, 89, 135)
HSLhsl(211, 49%, 35%)
HSVhsv(211, 66%, 53%)
CMYKcmyk(65.9%, 34.1%, 0%, 47.1%)
CIE-LABlab(36.88, 0.56, -30.09)
CIE-LCHlch(36.88, 30.09, 271.06°)
OKLaboklab(45.55% -0.028 -0.0851)
OKLCHoklch(45.55% 0.09 251.8)
XYZxyz(9.0707, 9.4740, 24.2676)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5987 #875C2E
analogous
#2E8587 #2E5987 #2F2E87
triadic
#2E5987 #872E59 #59872E
tetradic
#2E5987 #872E85 #875C2E #2E872F
square
#2E5987 #872E85 #875C2E #2E872F
split-complementary
#2E5987 #872F2E #85872E
monochromatic
#0F1D2C #1E3B59 #2E5987 #3E77B5 #6596CA

Accessibility & contrast

On white

7.25
#2E5987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2E5987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5987
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5987#FFFFFF#000000##FFFFFF
##2E59871.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455B89
Deuteranopia (green-blind)
#395386
Tritanopia (blue-blind)
#00646A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2e5987;
/* rgb */ color: rgb(46, 89, 135);
/* oklch */ color: oklch(45.5% 0.090 251.8);
Tailwind
colors: {
  custom: {
    50: '#7087aa',
    500: '#2e5987',
    950: '#000000',
  },
}
SCSS
$custom: #2e5987;
$custom-light: #7087aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5987",
  "rgb": {
    "r": 46,
    "g": 89,
    "b": 135
  },
  "hsl": {
    "h": 211.011,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45547,
    "c": 0.08963,
    "h": 251.8
  },
  "luminance": 0.09475
}

Semantic roles & 50–950 ramp

primary
#2E5987
secondary
#B18A60
accent
#964FD9
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B10
muted
#7B7C7F

Preview Lab

Preview with #2E5987

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

Preview Lab → · Contrast checker → · Palette generator →

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