#2B5977#2B5977

#2B5977 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.5% C 0.071 H 239.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#2B5977
RGBrgb(43, 89, 119)
HSLhsl(204, 47%, 32%)
HSVhsv(204, 64%, 47%)
CMYKcmyk(63.9%, 25.2%, 0%, 53.3%)
CIE-LABlab(35.96, -5.80, -21.71)
CIE-LCHlch(35.96, 22.47, 255.04°)
OKLaboklab(44.53% -0.0357 -0.0609)
OKLCHoklch(44.53% 0.071 239.6)
XYZxyz(7.8972, 8.9895, 18.7682)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5977 #77492B
analogous
#2B776F #2B5977 #2B3377
triadic
#2B5977 #772B59 #59772B
tetradic
#2B5977 #6F2B77 #77492B #33772B
square
#2B5977 #6F2B77 #77492B #33772B
split-complementary
#2B5977 #772B33 #776F2B
monochromatic
#0B161D #1B374A #2B5977 #3B7BA4 #5999C3

Accessibility & contrast

On white

7.51
#2B5977 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2B5977 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5977
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5977#FFFFFF#000000##FFFFFF
##2B59771.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5978
Deuteranopia (green-blind)
#415176
Tritanopia (blue-blind)
#006163
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b5977;
/* rgb */ color: rgb(43, 89, 119);
/* oklch */ color: oklch(44.5% 0.071 239.6);
Tailwind
colors: {
  custom: {
    50: '#6c879e',
    500: '#2b5977',
    950: '#000000',
  },
}
SCSS
$custom: #2b5977;
$custom-light: #6c879e;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5977",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 119
  },
  "hsl": {
    "h": 203.684,
    "s": 46.914,
    "l": 31.765
  },
  "oklch": {
    "l": 0.44529,
    "c": 0.07062,
    "h": 239.6
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#2B5977
secondary
#A97655
accent
#8651D7
background
#F6F8F9
surface
#ECEFF2
border
#C7CACC
text
#070B0E
muted
#7A7C7E

Preview Lab

Preview with #2B5977

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

Preview Lab → · Contrast checker → · Palette generator →

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