#2B5079#2B5079

#2B5079 is a dark, moderate cyan. Relative luminance 0.076; OKLCH L 42.4% C 0.081 H 252.4°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2B5079
RGBrgb(43, 80, 121)
HSLhsl(212, 48%, 32%)
HSVhsv(212, 64%, 47%)
CMYKcmyk(64.5%, 33.9%, 0%, 52.5%)
CIE-LABlab(33.20, 0.60, -27.27)
CIE-LCHlch(33.20, 27.28, 271.27°)
OKLaboklab(42.39% -0.0244 -0.0771)
OKLCHoklch(42.39% 0.081 252.4)
XYZxyz(7.3149, 7.6307, 19.1728)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B5079 #79542B
analogous
#2B7779 #2B5079 #2D2B79
triadic
#2B5079 #792B50 #50792B
tetradic
#2B5079 #792B77 #79542B #2B792D
square
#2B5079 #792B77 #79542B #2B792D
split-complementary
#2B5079 #792D2B #77792B
monochromatic
#0B141F #1B324C #2B5079 #3B6EA6 #5A8CC4

Accessibility & contrast

On white

8.31
#2B5079 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2B5079 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B5079
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B5079#FFFFFF#000000##FFFFFF
##2B50791.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F527B
Deuteranopia (green-blind)
#344B78
Tritanopia (blue-blind)
#00595F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2b5079;
/* rgb */ color: rgb(43, 80, 121);
/* oklch */ color: oklch(42.4% 0.081 252.4);
Tailwind
colors: {
  custom: {
    50: '#6c80a0',
    500: '#2b5079',
    950: '#000000',
  },
}
SCSS
$custom: #2b5079;
$custom-light: #6c80a0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b5079",
  "rgb": {
    "r": 43,
    "g": 80,
    "b": 121
  },
  "hsl": {
    "h": 211.538,
    "s": 47.561,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42385,
    "c": 0.08086,
    "h": 252.4
  },
  "luminance": 0.07631
}

Semantic roles & 50–950 ramp

primary
#2B5079
secondary
#AA8256
accent
#9751D7
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2B5079

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

Preview Lab → · Contrast checker → · Palette generator →

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