#2B4672#2B4672

#2B4672 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.5% C 0.082 H 259.7°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2B4672
RGBrgb(43, 70, 114)
HSLhsl(217, 45%, 31%)
HSVhsv(217, 62%, 45%)
CMYKcmyk(62.3%, 38.6%, 0%, 55.3%)
CIE-LABlab(29.68, 4.60, -28.44)
CIE-LCHlch(29.68, 28.81, 279.20°)
OKLaboklab(39.51% -0.0146 -0.0806)
OKLCHoklch(39.51% 0.082 259.7)
XYZxyz(6.2226, 6.1083, 16.7674)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4672 #72572B
analogous
#2B6972 #2B4672 #332B72
triadic
#2B4672 #722B46 #46722B
tetradic
#2B4672 #722B69 #72572B #2B7233
square
#2B4672 #722B69 #72572B #2B7233
split-complementary
#2B4672 #72332B #69722B
monochromatic
#090F19 #1A2B46 #2B4672 #3C619E #587FC0

Accessibility & contrast

On white

9.45
#2B4672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B4672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4672
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4672#FFFFFF#000000##FFFFFF
##2B46721.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334A74
Deuteranopia (green-blind)
#2A4371
Tritanopia (blue-blind)
#005056
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4672;
/* rgb */ color: rgb(43, 70, 114);
/* oklch */ color: oklch(39.5% 0.082 259.7);
Tailwind
colors: {
  custom: {
    50: '#6b799b',
    500: '#2b4672',
    950: '#000000',
  },
}
SCSS
$custom: #2b4672;
$custom-light: #6b799b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4672",
  "rgb": {
    "r": 43,
    "g": 70,
    "b": 114
  },
  "hsl": {
    "h": 217.183,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39514,
    "c": 0.0819,
    "h": 259.7
  },
  "luminance": 0.06109
}

Semantic roles & 50–950 ramp

primary
#2B4672
secondary
#A48655
accent
#A353D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090E
muted
#7A7B7E

Preview Lab

Preview with #2B4672

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

Preview Lab → · Contrast checker → · Palette generator →

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