#2B5979#2B5979

#2B5979 is a dark, moderate cyan. Relative luminance 0.090; OKLCH L 44.6% C 0.073 H 241.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2B5979
RGBrgb(43, 89, 121)
HSLhsl(205, 48%, 32%)
HSVhsv(205, 64%, 47%)
CMYKcmyk(64.5%, 26.4%, 0%, 52.5%)
CIE-LABlab(36.06, -5.09, -22.80)
CIE-LCHlch(36.06, 23.36, 257.41°)
OKLaboklab(44.63% -0.035 -0.064)
OKLCHoklch(44.63% 0.073 241.3)
XYZxyz(8.0185, 9.0380, 19.4074)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5979 #794B2B
analogous
#2B7972 #2B5979 #2B3279
triadic
#2B5979 #792B59 #59792B
tetradic
#2B5979 #722B79 #794B2B #32792B
square
#2B5979 #722B79 #794B2B #32792B
split-complementary
#2B5979 #792B32 #79722B
monochromatic
#0B171F #1B384C #2B5979 #3B7AA6 #5A99C4

Accessibility & contrast

On white

7.48
#2B5979 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B5979
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5979#FFFFFF#000000##FFFFFF
##2B59791.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B597A
Deuteranopia (green-blind)
#405178
Tritanopia (blue-blind)
#006164
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2b5979;
/* rgb */ color: rgb(43, 89, 121);
/* oklch */ color: oklch(44.6% 0.073 241.3);
Tailwind
colors: {
  custom: {
    50: '#6c87a0',
    500: '#2b5979',
    950: '#000000',
  },
}
SCSS
$custom: #2b5979;
$custom-light: #6c87a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5979",
  "rgb": {
    "r": 43,
    "g": 89,
    "b": 121
  },
  "hsl": {
    "h": 204.615,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44634,
    "c": 0.07299,
    "h": 241.3
  },
  "luminance": 0.09039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B5979

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

Preview Lab → · Contrast checker → · Palette generator →

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