#2B5A79#2B5A79

#2B5A79 is a dark, moderate cyan. Relative luminance 0.092; OKLCH L 44.9% C 0.072 H 240.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2B5A79
RGBrgb(43, 90, 121)
HSLhsl(204, 48%, 32%)
HSVhsv(204, 64%, 47%)
CMYKcmyk(64.5%, 25.6%, 0%, 52.5%)
CIE-LABlab(36.38, -5.71, -22.30)
CIE-LCHlch(36.38, 23.02, 255.64°)
OKLaboklab(44.89% -0.0362 -0.0626)
OKLCHoklch(44.89% 0.072 240)
XYZxyz(8.1023, 9.2056, 19.4353)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5A79 #794A2B
analogous
#2B7971 #2B5A79 #2B3379
triadic
#2B5A79 #792B5A #5A792B
tetradic
#2B5A79 #712B79 #794A2B #33792B
square
#2B5A79 #712B79 #794A2B #33792B
split-complementary
#2B5A79 #792B33 #79712B
monochromatic
#0B171F #1B384C #2B5A79 #3B7CA6 #5A9AC4

Accessibility & contrast

On white

7.39
#2B5A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2B5A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5A79
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5A79#FFFFFF#000000##FFFFFF
##2B5A791.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5A7A
Deuteranopia (green-blind)
#415278
Tritanopia (blue-blind)
#006265
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2b5a79;
/* rgb */ color: rgb(43, 90, 121);
/* oklch */ color: oklch(44.9% 0.072 240.0);
Tailwind
colors: {
  custom: {
    50: '#6d88a0',
    500: '#2b5a79',
    950: '#000000',
  },
}
SCSS
$custom: #2b5a79;
$custom-light: #6d88a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5a79",
  "rgb": {
    "r": 43,
    "g": 90,
    "b": 121
  },
  "hsl": {
    "h": 203.846,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.44887,
    "c": 0.07231,
    "h": 240
  },
  "luminance": 0.09206
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B5A79

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

Preview Lab → · Contrast checker → · Palette generator →

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