#2B5877#2B5877

#2B5877 is a dark, moderate cyan. Relative luminance 0.088; OKLCH L 44.3% C 0.071 H 241.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2B5877
RGBrgb(43, 88, 119)
HSLhsl(204, 47%, 32%)
HSVhsv(204, 64%, 47%)
CMYKcmyk(63.9%, 26.1%, 0%, 53.3%)
CIE-LABlab(35.64, -5.19, -22.21)
CIE-LCHlch(35.64, 22.81, 256.86°)
OKLaboklab(44.28% -0.0345 -0.0623)
OKLCHoklch(44.28% 0.071 241)
XYZxyz(7.8145, 8.8242, 18.7406)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5877 #774A2B
analogous
#2B7770 #2B5877 #2B3277
triadic
#2B5877 #772B58 #58772B
tetradic
#2B5877 #702B77 #774A2B #32772B
square
#2B5877 #702B77 #774A2B #32772B
split-complementary
#2B5877 #772B32 #77702B
monochromatic
#0B161D #1B374A #2B5877 #3B79A4 #5998C3

Accessibility & contrast

On white

7.59
#2B5877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2B5877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5877
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5877#FFFFFF#000000##FFFFFF
##2B58771.007.592.767.59
#FFFFFF7.591.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b5877;
/* rgb */ color: rgb(43, 88, 119);
/* oklch */ color: oklch(44.3% 0.071 241.0);
Tailwind
colors: {
  custom: {
    50: '#6c879e',
    500: '#2b5877',
    950: '#000000',
  },
}
SCSS
$custom: #2b5877;
$custom-light: #6c879e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5877",
  "rgb": {
    "r": 43,
    "g": 88,
    "b": 119
  },
  "hsl": {
    "h": 204.474,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44276,
    "c": 0.07128,
    "h": 241
  },
  "luminance": 0.08825
}

Semantic roles & 50–950 ramp

primary
#2B5877
secondary
#A97755
accent
#8851D7
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2B5877

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

Preview Lab → · Contrast checker → · Palette generator →

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