#2B4989#2B4989

#2B4989 is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.8% C 0.113 H 263.4°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2B4989
RGBrgb(43, 73, 137)
HSLhsl(221, 52%, 35%)
HSVhsv(221, 69%, 54%)
CMYKcmyk(68.6%, 46.7%, 0%, 46.3%)
CIE-LABlab(32.00, 11.25, -39.08)
CIE-LCHlch(32.00, 40.67, 286.06°)
OKLaboklab(41.76% -0.0129 -0.1118)
OKLCHoklch(41.76% 0.113 263.4)
XYZxyz(7.8926, 7.0841, 24.6135)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4989 #896B2B
analogous
#2B7889 #2B4989 #3C2B89
triadic
#2B4989 #892B49 #49892B
tetradic
#2B4989 #892B78 #896B2B #2B893C
square
#2B4989 #892B78 #896B2B #2B893C
split-complementary
#2B4989 #893C2B #78892B
monochromatic
#0E172C #1C305A #2B4989 #3A62B8 #6184CD

Accessibility & contrast

On white

8.69
#2B4989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2B4989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4989
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4989#FFFFFF#000000##FFFFFF
##2B49891.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29508B
Deuteranopia (green-blind)
#184788
Tritanopia (blue-blind)
#005862
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b4989;
/* rgb */ color: rgb(43, 73, 137);
/* oklch */ color: oklch(41.8% 0.113 263.4);
Tailwind
colors: {
  custom: {
    50: '#6f7bac',
    500: '#2b4989',
    950: '#000000',
  },
}
SCSS
$custom: #2b4989;
$custom-light: #6f7bac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4989",
  "rgb": {
    "r": 43,
    "g": 73,
    "b": 137
  },
  "hsl": {
    "h": 220.851,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41756,
    "c": 0.1125,
    "h": 263.4
  },
  "luminance": 0.07085
}

Semantic roles & 50–950 ramp

primary
#2B4989
secondary
#B3985C
accent
#AE4CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2B4989

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

Preview Lab → · Contrast checker → · Palette generator →

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