#2B4D71#2B4D71

#2B4D71 is a dark, moderate cyan. Relative luminance 0.070; OKLCH L 41.2% C 0.073 H 251.2°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2B4D71
RGBrgb(43, 77, 113)
HSLhsl(211, 45%, 31%)
HSVhsv(211, 62%, 44%)
CMYKcmyk(61.9%, 31.9%, 0%, 55.7%)
CIE-LABlab(31.84, -0.37, -24.42)
CIE-LCHlch(31.84, 24.42, 269.13°)
OKLaboklab(41.18% -0.0234 -0.0688)
OKLCHoklch(41.18% 0.073 251.2)
XYZxyz(6.6297, 7.0130, 16.6239)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D71 #714F2B
analogous
#2B7071 #2B4D71 #2C2B71
triadic
#2B4D71 #712B4D #4D712B
tetradic
#2B4D71 #712B70 #714F2B #2B712C
square
#2B4D71 #712B70 #714F2B #2B712C
split-complementary
#2B4D71 #712C2B #70712B
monochromatic
#091118 #1A2F45 #2B4D71 #3C6B9D #578ABF

Accessibility & contrast

On white

8.74
#2B4D71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2B4D71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D71
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D71#FFFFFF#000000##FFFFFF
##2B4D711.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4F73
Deuteranopia (green-blind)
#354870
Tritanopia (blue-blind)
#00555A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b4d71;
/* rgb */ color: rgb(43, 77, 113);
/* oklch */ color: oklch(41.2% 0.073 251.2);
Tailwind
colors: {
  custom: {
    50: '#6b7e9a',
    500: '#2b4d71',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d71;
$custom-light: #6b7e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d71",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 113
  },
  "hsl": {
    "h": 210.857,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41178,
    "c": 0.07269,
    "h": 251.2
  },
  "luminance": 0.07014
}

Semantic roles & 50–950 ramp

primary
#2B4D71
secondary
#A37D55
accent
#9653D5
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#070A0E
muted
#7A7C7E

Preview Lab

Preview with #2B4D71

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

Preview Lab → · Contrast checker → · Palette generator →

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