#2B4589#2B4589

#2B4589 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.9% C 0.118 H 265.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2B4589
RGBrgb(43, 69, 137)
HSLhsl(223, 52%, 35%)
HSVhsv(223, 69%, 54%)
CMYKcmyk(68.6%, 49.6%, 0%, 46.3%)
CIE-LABlab(30.82, 13.96, -40.97)
CIE-LCHlch(30.82, 43.28, 288.82°)
OKLaboklab(40.85% -0.0088 -0.1174)
OKLCHoklch(40.85% 0.118 265.7)
XYZxyz(7.6382, 6.5752, 24.5287)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4589 #896F2B
analogous
#2B7489 #2B4589 #402B89
triadic
#2B4589 #892B45 #45892B
tetradic
#2B4589 #892B74 #896F2B #2B8940
square
#2B4589 #892B74 #896F2B #2B8940
split-complementary
#2B4589 #89402B #74892B
monochromatic
#0E162C #1C2E5A #2B4589 #3A5CB8 #617FCD

Accessibility & contrast

On white

9.07
#2B4589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2B4589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4589
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4589#FFFFFF#000000##FFFFFF
##2B45891.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214D8B
Deuteranopia (green-blind)
#0A4488
Tritanopia (blue-blind)
#005560
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b4589;
/* rgb */ color: rgb(43, 69, 137);
/* oklch */ color: oklch(40.9% 0.118 265.7);
Tailwind
colors: {
  custom: {
    50: '#7078ac',
    500: '#2b4589',
    950: '#000000',
  },
}
SCSS
$custom: #2b4589;
$custom-light: #7078ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4589",
  "rgb": {
    "r": 43,
    "g": 69,
    "b": 137
  },
  "hsl": {
    "h": 223.404,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40854,
    "c": 0.11771,
    "h": 265.7
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#2B4589
secondary
#B39B5C
accent
#B44CDC
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2B4589

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

Preview Lab → · Contrast checker → · Palette generator →

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