#2B4572#2B4572

#2B4572 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.3% C 0.083 H 260.7°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#2B4572
RGBrgb(43, 69, 114)
HSLhsl(218, 45%, 31%)
HSVhsv(218, 62%, 45%)
CMYKcmyk(62.3%, 39.5%, 0%, 55.3%)
CIE-LABlab(29.37, 5.28, -28.93)
CIE-LCHlch(29.37, 29.41, 280.33°)
OKLaboklab(39.27% -0.0134 -0.082)
OKLCHoklch(39.27% 0.083 260.7)
XYZxyz(6.1606, 5.9842, 16.7467)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4572 #72582B
analogous
#2B6872 #2B4572 #342B72
triadic
#2B4572 #722B45 #45722B
tetradic
#2B4572 #722B68 #72582B #2B7234
square
#2B4572 #722B68 #72582B #2B7234
split-complementary
#2B4572 #72342B #68722B
monochromatic
#090F19 #1A2A46 #2B4572 #3C609E #587EC0

Accessibility & contrast

On white

9.56
#2B4572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2B4572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4572
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4572#FFFFFF#000000##FFFFFF
##2B45721.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324974
Deuteranopia (green-blind)
#294271
Tritanopia (blue-blind)
#004F56
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2b4572;
/* rgb */ color: rgb(43, 69, 114);
/* oklch */ color: oklch(39.3% 0.083 260.7);
Tailwind
colors: {
  custom: {
    50: '#6b789b',
    500: '#2b4572',
    950: '#000000',
  },
}
SCSS
$custom: #2b4572;
$custom-light: #6b789b;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4572",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 114
  },
  "hsl": {
    "h": 218.028,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.39272,
    "c": 0.08313,
    "h": 260.7
  },
  "luminance": 0.05985
}

Semantic roles & 50–950 ramp

primary
#2B4572
secondary
#A48755
accent
#A553D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #2B4572

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

Preview Lab → · Contrast checker → · Palette generator →

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