#2B4372#2B4372

#2B4372 is a dark, moderate blue. Relative luminance 0.057; OKLCH L 38.8% C 0.086 H 262.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2B4372
RGBrgb(43, 67, 114)
HSLhsl(220, 45%, 31%)
HSVhsv(220, 62%, 45%)
CMYKcmyk(62.3%, 41.2%, 0%, 55.3%)
CIE-LABlab(28.75, 6.62, -29.91)
CIE-LCHlch(28.75, 30.64, 282.49°)
OKLaboklab(38.79% -0.011 -0.0849)
OKLCHoklch(38.79% 0.086 262.6)
XYZxyz(6.0396, 5.7423, 16.7064)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4372 #725A2B
analogous
#2B6672 #2B4372 #362B72
triadic
#2B4372 #722B43 #43722B
tetradic
#2B4372 #722B66 #725A2B #2B7236
square
#2B4372 #722B66 #725A2B #2B7236
split-complementary
#2B4372 #72362B #66722B
monochromatic
#090F19 #1A2946 #2B4372 #3C5D9E #587BC0

Accessibility & contrast

On white

9.77
#2B4372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2B4372 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4372
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4372#FFFFFF#000000##FFFFFF
##2B43721.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4774
Deuteranopia (green-blind)
#254171
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2b4372;
/* rgb */ color: rgb(43, 67, 114);
/* oklch */ color: oklch(38.8% 0.086 262.6);
Tailwind
colors: {
  custom: {
    50: '#6b769b',
    500: '#2b4372',
    950: '#000000',
  },
}
SCSS
$custom: #2b4372;
$custom-light: #6b769b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4372",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 114
  },
  "hsl": {
    "h": 219.718,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38792,
    "c": 0.08565,
    "h": 262.6
  },
  "luminance": 0.05743
}

Semantic roles & 50–950 ramp

primary
#2B4372
secondary
#A48955
accent
#A953D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2B4372

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

Preview Lab → · Contrast checker → · Palette generator →

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