#2B4387#2B4387

#2B4387 is a dark, moderate blue. Relative luminance 0.063; OKLCH L 40.3% C 0.117 H 266.5°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#2B4387
RGBrgb(43, 67, 135)
HSLhsl(224, 52%, 35%)
HSVhsv(224, 68%, 53%)
CMYKcmyk(68.1%, 50.4%, 0%, 47.1%)
CIE-LABlab(30.10, 14.56, -40.89)
CIE-LCHlch(30.10, 43.41, 289.59°)
OKLaboklab(40.26% -0.0071 -0.1172)
OKLCHoklch(40.26% 0.117 266.5)
XYZxyz(7.3751, 6.2765, 23.7398)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4387 #876F2B
analogous
#2B7187 #2B4387 #412B87
triadic
#2B4387 #872B43 #43872B
tetradic
#2B4387 #872B71 #876F2B #2B8741
square
#2B4387 #872B71 #876F2B #2B8741
split-complementary
#2B4387 #87412B #71872B
monochromatic
#0D152A #1C2C59 #2B4387 #3A5AB5 #607CCC

Accessibility & contrast

On white

9.31
#2B4387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2B4387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4387
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4387#FFFFFF#000000##FFFFFF
##2B43871.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#064386
Tritanopia (blue-blind)
#00535E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b4387;
/* rgb */ color: rgb(43, 67, 135);
/* oklch */ color: oklch(40.3% 0.117 266.5);
Tailwind
colors: {
  custom: {
    50: '#6f76aa',
    500: '#2b4387',
    950: '#000000',
  },
}
SCSS
$custom: #2b4387;
$custom-light: #6f76aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4387",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 135
  },
  "hsl": {
    "h": 224.348,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.40261,
    "c": 0.1174,
    "h": 266.5
  },
  "luminance": 0.06277
}

Semantic roles & 50–950 ramp

primary
#2B4387
secondary
#B29C5B
accent
#B64DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B4387

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

Preview Lab → · Contrast checker → · Palette generator →

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