#2D5877#2D5877

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

Color values

HEX#2D5877
RGBrgb(45, 88, 119)
HSLhsl(205, 45%, 32%)
HSVhsv(205, 62%, 47%)
CMYKcmyk(62.2%, 26.1%, 0%, 53.3%)
CIE-LABlab(35.73, -4.76, -22.07)
CIE-LCHlch(35.73, 22.58, 257.82°)
OKLaboklab(44.37% -0.0329 -0.0619)
OKLCHoklch(44.37% 0.07 242)
XYZxyz(7.9004, 8.8685, 18.7446)
Luminance0.0887 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D5877 #774C2D
analogous
#2D7771 #2D5877 #2D3377
triadic
#2D5877 #772D58 #58772D
tetradic
#2D5877 #712D77 #774C2D #33772D
square
#2D5877 #712D77 #774C2D #33772D
split-complementary
#2D5877 #772D33 #77712D
monochromatic
#0B161E #1C374B #2D5877 #3E79A3 #5D97C2

Accessibility & contrast

On white

7.57
#2D5877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2D5877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D5877
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D5877#FFFFFF#000000##FFFFFF
##2D58771.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.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: #2d5877;
/* rgb */ color: rgb(45, 88, 119);
/* oklch */ color: oklch(44.4% 0.070 242.0);
Tailwind
colors: {
  custom: {
    50: '#6d879e',
    500: '#2d5877',
    950: '#000000',
  },
}
SCSS
$custom: #2d5877;
$custom-light: #6d879e;
$custom-dark: #000000;
JSON
{
  "hex": "#2d5877",
  "rgb": {
    "r": 45,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 205.135,
    "s": 45.122,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44368,
    "c": 0.07014,
    "h": 242
  },
  "luminance": 0.08869
}

Semantic roles & 50–950 ramp

primary
#2D5877
secondary
#A87958
accent
#8953D5
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2D5877

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

Preview Lab → · Contrast checker → · Palette generator →

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