#2B4173#2B4173

#2B4173 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.4% C 0.090 H 264.6°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#2B4173
RGBrgb(43, 65, 115)
HSLhsl(222, 46%, 31%)
HSVhsv(222, 63%, 45%)
CMYKcmyk(62.6%, 43.5%, 0%, 54.9%)
CIE-LABlab(28.20, 8.35, -31.42)
CIE-LCHlch(28.20, 32.52, 284.89°)
OKLaboklab(38.38% -0.0084 -0.0894)
OKLCHoklch(38.38% 0.09 264.6)
XYZxyz(5.9800, 5.5315, 16.9689)
Luminance0.0553 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4173 #735D2B
analogous
#2B6573 #2B4173 #392B73
triadic
#2B4173 #732B41 #41732B
tetradic
#2B4173 #732B65 #735D2B #2B7339
square
#2B4173 #732B65 #735D2B #2B7339
split-complementary
#2B4173 #73392B #65732B
monochromatic
#0A0F1A #1A2846 #2B4173 #3C5AA0 #5878C1

Accessibility & contrast

On white

9.97
#2B4173 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#2B4173 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4173
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4173#FFFFFF#000000##FFFFFF
##2B41731.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4675
Deuteranopia (green-blind)
#213F72
Tritanopia (blue-blind)
#004C54
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2b4173;
/* rgb */ color: rgb(43, 65, 115);
/* oklch */ color: oklch(38.4% 0.090 264.6);
Tailwind
colors: {
  custom: {
    50: '#6b759b',
    500: '#2b4173',
    950: '#000000',
  },
}
SCSS
$custom: #2b4173;
$custom-light: #6b759b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4173",
  "rgb": {
    "r": 43,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 221.667,
    "s": 45.57,
    "l": 30.98
  },
  "oklch": {
    "l": 0.38383,
    "c": 0.08979,
    "h": 264.6
  },
  "luminance": 0.05532
}

Semantic roles & 50–950 ramp

primary
#2B4173
secondary
#A58C55
accent
#AD53D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2B4173

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

Preview Lab → · Contrast checker → · Palette generator →

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