#2B4E71#2B4E71

#2B4E71 is a dark, moderate cyan. Relative luminance 0.072; OKLCH L 41.4% C 0.072 H 249.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2B4E71
RGBrgb(43, 78, 113)
HSLhsl(210, 45%, 31%)
HSVhsv(210, 62%, 44%)
CMYKcmyk(61.9%, 31%, 0%, 55.7%)
CIE-LABlab(32.16, -1.02, -23.92)
CIE-LCHlch(32.16, 23.94, 267.57°)
OKLaboklab(41.43% -0.0246 -0.0674)
OKLCHoklch(41.43% 0.072 249.9)
XYZxyz(6.7002, 7.1540, 16.6474)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E71 #714E2B
analogous
#2B7171 #2B4E71 #2B2B71
triadic
#2B4E71 #712B4E #4E712B
tetradic
#2B4E71 #712B71 #714E2B #2B712B
square
#2B4E71 #712B71 #714E2B #2B712B
split-complementary
#2B4E71 #712B2B #71712B
monochromatic
#091118 #1A2F45 #2B4E71 #3C6D9D #578BBF

Accessibility & contrast

On white

8.64
#2B4E71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2B4E71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E71
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E71#FFFFFF#000000##FFFFFF
##2B4E711.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F73
Deuteranopia (green-blind)
#364970
Tritanopia (blue-blind)
#00565A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b4e71;
/* rgb */ color: rgb(43, 78, 113);
/* oklch */ color: oklch(41.4% 0.072 249.9);
Tailwind
colors: {
  custom: {
    50: '#6b7f9a',
    500: '#2b4e71',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e71;
$custom-light: #6b7f9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e71",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 113
  },
  "hsl": {
    "h": 210,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41428,
    "c": 0.07171,
    "h": 249.9
  },
  "luminance": 0.07155
}

Semantic roles & 50–950 ramp

primary
#2B4E71
secondary
#A37C55
accent
#9453D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2B4E71

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

Preview Lab → · Contrast checker → · Palette generator →

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