#2B4471#2B4471

#2B4471 is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.083 H 261.4°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#2B4471
RGBrgb(43, 68, 113)
HSLhsl(219, 45%, 31%)
HSVhsv(219, 62%, 44%)
CMYKcmyk(61.9%, 39.8%, 0%, 55.7%)
CIE-LABlab(29.00, 5.58, -28.88)
CIE-LCHlch(29.00, 29.41, 280.93°)
OKLaboklab(38.97% -0.0124 -0.0819)
OKLCHoklch(38.97% 0.083 261.4)
XYZxyz(6.0430, 5.8396, 16.4283)
Luminance0.0584 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4471 #71582B
analogous
#2B6771 #2B4471 #352B71
triadic
#2B4471 #712B44 #44712B
tetradic
#2B4471 #712B67 #71582B #2B7135
square
#2B4471 #712B67 #71582B #2B7135
split-complementary
#2B4471 #71352B #67712B
monochromatic
#090F18 #1A2945 #2B4471 #3C5F9D #577CBF

Accessibility & contrast

On white

9.69
#2B4471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2B4471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4471
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4471#FFFFFF#000000##FFFFFF
##2B44711.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314873
Deuteranopia (green-blind)
#284170
Tritanopia (blue-blind)
#004E55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b4471;
/* rgb */ color: rgb(43, 68, 113);
/* oklch */ color: oklch(39.0% 0.083 261.4);
Tailwind
colors: {
  custom: {
    50: '#6b779a',
    500: '#2b4471',
    950: '#000000',
  },
}
SCSS
$custom: #2b4471;
$custom-light: #6b779a;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4471",
  "rgb": {
    "r": 43,
    "g": 68,
    "b": 113
  },
  "hsl": {
    "h": 218.571,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.38967,
    "c": 0.08285,
    "h": 261.4
  },
  "luminance": 0.0584
}

Semantic roles & 50–950 ramp

primary
#2B4471
secondary
#A38755
accent
#A653D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2B4471

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

Preview Lab → · Contrast checker → · Palette generator →

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