#2B4887#2B4887

#2B4887 is a dark, moderate blue. Relative luminance 0.069; OKLCH L 41.4% C 0.111 H 263.7°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2B4887
RGBrgb(43, 72, 135)
HSLhsl(221, 52%, 35%)
HSVhsv(221, 68%, 53%)
CMYKcmyk(68.1%, 46.7%, 0%, 47.1%)
CIE-LABlab(31.57, 11.16, -38.53)
CIE-LCHlch(31.57, 40.11, 286.16°)
OKLaboklab(41.39% -0.0122 -0.1102)
OKLCHoklch(41.39% 0.111 263.7)
XYZxyz(7.6853, 6.8969, 23.8432)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4887 #876A2B
analogous
#2B7687 #2B4887 #3C2B87
triadic
#2B4887 #872B48 #48872B
tetradic
#2B4887 #872B76 #876A2B #2B873C
square
#2B4887 #872B76 #876A2B #2B873C
split-complementary
#2B4887 #873C2B #76872B
monochromatic
#0D162A #1C2F59 #2B4887 #3A61B5 #6082CC

Accessibility & contrast

On white

8.83
#2B4887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B4887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4887
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4887#FFFFFF#000000##FFFFFF
##2B48871.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294F89
Deuteranopia (green-blind)
#184686
Tritanopia (blue-blind)
#005761
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b4887;
/* rgb */ color: rgb(43, 72, 135);
/* oklch */ color: oklch(41.4% 0.111 263.7);
Tailwind
colors: {
  custom: {
    50: '#6f7aaa',
    500: '#2b4887',
    950: '#000000',
  },
}
SCSS
$custom: #2b4887;
$custom-light: #6f7aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4887",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 135
  },
  "hsl": {
    "h": 221.087,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41386,
    "c": 0.11083,
    "h": 263.7
  },
  "luminance": 0.06898
}

Semantic roles & 50–950 ramp

primary
#2B4887
secondary
#B2975B
accent
#AE4DDB
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4887

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

Preview Lab → · Contrast checker → · Palette generator →

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