#2B4C71#2B4C71

#2B4C71 is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 40.9% C 0.074 H 252.5°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#2B4C71
RGBrgb(43, 76, 113)
HSLhsl(212, 45%, 31%)
HSVhsv(212, 62%, 44%)
CMYKcmyk(61.9%, 32.7%, 0%, 55.7%)
CIE-LABlab(31.52, 0.28, -24.92)
CIE-LCHlch(31.52, 24.92, 270.64°)
OKLaboklab(40.93% -0.0222 -0.0703)
OKLCHoklch(40.93% 0.074 252.5)
XYZxyz(6.5603, 6.8741, 16.6007)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4C71 #71502B
analogous
#2B6F71 #2B4C71 #2D2B71
triadic
#2B4C71 #712B4C #4C712B
tetradic
#2B4C71 #712B6F #71502B #2B712D
square
#2B4C71 #712B6F #71502B #2B712D
split-complementary
#2B4C71 #712D2B #6F712B
monochromatic
#091018 #1A2E45 #2B4C71 #3C6A9D #5788BF

Accessibility & contrast

On white

8.84
#2B4C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B4C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4C71
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4C71#FFFFFF#000000##FFFFFF
##2B4C711.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C4E73
Deuteranopia (green-blind)
#334770
Tritanopia (blue-blind)
#005559
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b4c71;
/* rgb */ color: rgb(43, 76, 113);
/* oklch */ color: oklch(40.9% 0.074 252.5);
Tailwind
colors: {
  custom: {
    50: '#6b7d9a',
    500: '#2b4c71',
    950: '#000000',
  },
}
SCSS
$custom: #2b4c71;
$custom-light: #6b7d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4c71",
  "rgb": {
    "r": 43,
    "g": 76,
    "b": 113
  },
  "hsl": {
    "h": 211.714,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.40928,
    "c": 0.07368,
    "h": 252.5
  },
  "luminance": 0.06875
}

Semantic roles & 50–950 ramp

primary
#2B4C71
secondary
#A37E55
accent
#9853D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2B4C71

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

Preview Lab → · Contrast checker → · Palette generator →

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