#2E5784#2E5784

#2E5784 is a dark, moderate cyan. Relative luminance 0.091; OKLCH L 44.9% C 0.088 H 252.3°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#2E5784
RGBrgb(46, 87, 132)
HSLhsl(211, 48%, 35%)
HSVhsv(211, 65%, 52%)
CMYKcmyk(65.2%, 34.1%, 0%, 48.2%)
CIE-LABlab(36.10, 0.74, -29.48)
CIE-LCHlch(36.10, 29.49, 271.43°)
OKLaboklab(44.89% -0.0267 -0.0834)
OKLCHoklch(44.89% 0.088 252.3)
XYZxyz(8.6983, 9.0623, 23.1161)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5784 #845B2E
analogous
#2E8284 #2E5784 #302E84
triadic
#2E5784 #842E57 #57842E
tetradic
#2E5784 #842E82 #845B2E #2E8430
square
#2E5784 #842E82 #845B2E #2E8430
split-complementary
#2E5784 #84302E #82842E
monochromatic
#0E1B29 #1E3957 #2E5784 #3E75B1 #6494C9

Accessibility & contrast

On white

7.47
#2E5784 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2E5784 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5784
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5784#FFFFFF#000000##FFFFFF
##2E57841.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445986
Deuteranopia (green-blind)
#385183
Tritanopia (blue-blind)
#006167
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2e5784;
/* rgb */ color: rgb(46, 87, 132);
/* oklch */ color: oklch(44.9% 0.088 252.3);
Tailwind
colors: {
  custom: {
    50: '#7086a8',
    500: '#2e5784',
    950: '#000000',
  },
}
SCSS
$custom: #2e5784;
$custom-light: #7086a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5784",
  "rgb": {
    "r": 46,
    "g": 87,
    "b": 132
  },
  "hsl": {
    "h": 211.395,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44886,
    "c": 0.08755,
    "h": 252.3
  },
  "luminance": 0.09063
}

Semantic roles & 50–950 ramp

primary
#2E5784
secondary
#B0895E
accent
#9750D8
background
#F7F8FA
surface
#EDEFF4
border
#C8CACE
text
#080B0F
muted
#7B7C7F

Preview Lab

Preview with #2E5784

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

Preview Lab → · Contrast checker → · Palette generator →

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