#2E5877#2E5877

#2E5877 is a dark, moderate cyan. Relative luminance 0.089; OKLCH L 44.4% C 0.070 H 242.5°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2E5877
RGBrgb(46, 88, 119)
HSLhsl(205, 44%, 32%)
HSVhsv(205, 61%, 47%)
CMYKcmyk(61.3%, 26.1%, 0%, 53.3%)
CIE-LABlab(35.77, -4.55, -22.00)
CIE-LCHlch(35.77, 22.46, 258.32°)
OKLaboklab(44.42% -0.0321 -0.0617)
OKLCHoklch(44.42% 0.07 242.5)
XYZxyz(7.9450, 8.8915, 18.7467)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5877 #774D2E
analogous
#2E7771 #2E5877 #2E3477
triadic
#2E5877 #772E58 #58772E
tetradic
#2E5877 #712E77 #774D2E #34772E
square
#2E5877 #712E77 #774D2E #34772E
split-complementary
#2E5877 #772E34 #77712E
monochromatic
#0C171F #1D374B #2E5877 #3F79A3 #5E97C1

Accessibility & contrast

On white

7.56
#2E5877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2E5877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5877
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5877#FFFFFF#000000##FFFFFF
##2E58771.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5878
Deuteranopia (green-blind)
#405176
Tritanopia (blue-blind)
#006063
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2e5877;
/* rgb */ color: rgb(46, 88, 119);
/* oklch */ color: oklch(44.4% 0.070 242.5);
Tailwind
colors: {
  custom: {
    50: '#6e879e',
    500: '#2e5877',
    950: '#000000',
  },
}
SCSS
$custom: #2e5877;
$custom-light: #6e879e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5877",
  "rgb": {
    "r": 46,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 205.479,
    "s": 44.242,
    "l": 32.353
  },
  "oklch": {
    "l": 0.44415,
    "c": 0.06956,
    "h": 242.5
  },
  "luminance": 0.08892
}

Semantic roles & 50–950 ramp

primary
#2E5877
secondary
#A87A59
accent
#8A54D4
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2E5877

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

Preview Lab → · Contrast checker → · Palette generator →

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