#2B4D9A#2B4D9A

#2B4D9A is a dark, vivid blue. Relative luminance 0.082; OKLCH L 43.9% C 0.132 H 263.9°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2B4D9A
RGBrgb(43, 77, 154)
HSLhsl(222, 56%, 39%)
HSVhsv(222, 72%, 60%)
CMYKcmyk(72.1%, 50%, 0%, 39.6%)
CIE-LABlab(34.30, 15.07, -45.75)
CIE-LCHlch(34.30, 48.16, 288.24°)
OKLaboklab(43.88% -0.0141 -0.1313)
OKLCHoklch(43.88% 0.132 263.9)
XYZxyz(9.4808, 8.1535, 31.6397)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D9A #9A782B
analogous
#2B849A #2B4D9A #412B9A
triadic
#2B4D9A #9A2B4D #4D9A2B
tetradic
#2B4D9A #9A2B84 #9A782B #2B9A41
square
#2B4D9A #9A2B84 #9A782B #2B9A41
split-complementary
#2B4D9A #9A412B #849A2B
monochromatic
#101D3A #1E356A #2B4D9A #3A66C8 #6A8BD5

Accessibility & contrast

On white

7.98
#2B4D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2B4D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D9A
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D9A#FFFFFF#000000##FFFFFF
##2B4D9A1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21569D
Deuteranopia (green-blind)
#004C98
Tritanopia (blue-blind)
#005F6C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4d9a;
/* rgb */ color: rgb(43, 77, 154);
/* oklch */ color: oklch(43.9% 0.132 263.9);
Tailwind
colors: {
  custom: {
    50: '#737eb8',
    500: '#2b4d9a',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d9a;
$custom-light: #737eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d9a",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 154
  },
  "hsl": {
    "h": 221.622,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.43883,
    "c": 0.13205,
    "h": 263.9
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#2B4D9A
secondary
#BCA165
accent
#B148E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B4D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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