#2B4D99#2B4D99

#2B4D99 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.8% C 0.131 H 263.7°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2B4D99
RGBrgb(43, 77, 153)
HSLhsl(221, 56%, 38%)
HSVhsv(221, 72%, 60%)
CMYKcmyk(71.9%, 49.7%, 0%, 40%)
CIE-LABlab(34.23, 14.69, -45.25)
CIE-LCHlch(34.23, 47.58, 287.98°)
OKLaboklab(43.81% -0.0142 -0.1298)
OKLCHoklch(43.81% 0.131 263.7)
XYZxyz(9.3979, 8.1203, 31.2029)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D99 #99772B
analogous
#2B8499 #2B4D99 #402B99
triadic
#2B4D99 #992B4D #4D992B
tetradic
#2B4D99 #992B84 #99772B #2B9940
square
#2B4D99 #992B84 #99772B #2B9940
split-complementary
#2B4D99 #99402B #84992B
monochromatic
#101D39 #1E3569 #2B4D99 #3A66C8 #698BD5

Accessibility & contrast

On white

8.00
#2B4D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2B4D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D99
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D99#FFFFFF#000000##FFFFFF
##2B4D991.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23569C
Deuteranopia (green-blind)
#004C97
Tritanopia (blue-blind)
#005F6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b4d99;
/* rgb */ color: rgb(43, 77, 153);
/* oklch */ color: oklch(43.8% 0.131 263.7);
Tailwind
colors: {
  custom: {
    50: '#737eb7',
    500: '#2b4d99',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d99;
$custom-light: #737eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d99",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 153
  },
  "hsl": {
    "h": 221.455,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43809,
    "c": 0.13063,
    "h": 263.7
  },
  "luminance": 0.08121
}

Semantic roles & 50–950 ramp

primary
#2B4D99
secondary
#BCA164
accent
#B148DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B4D99

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

Preview Lab → · Contrast checker → · Palette generator →

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