#2B4E99#2B4E99

#2B4E99 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.129 H 263.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2B4E99
RGBrgb(43, 78, 153)
HSLhsl(221, 56%, 38%)
HSVhsv(221, 72%, 60%)
CMYKcmyk(71.9%, 49%, 0%, 40%)
CIE-LABlab(34.52, 14.02, -44.79)
CIE-LCHlch(34.52, 46.93, 287.38°)
OKLaboklab(44.03% -0.0152 -0.1285)
OKLCHoklch(44.03% 0.129 263.3)
XYZxyz(9.4684, 8.2613, 31.2264)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4E99 #99762B
analogous
#2B8599 #2B4E99 #3F2B99
triadic
#2B4E99 #992B4E #4E992B
tetradic
#2B4E99 #992B85 #99762B #2B993F
square
#2B4E99 #992B85 #99762B #2B993F
split-complementary
#2B4E99 #993F2B #85992B
monochromatic
#101D39 #1E3669 #2B4E99 #3A67C8 #698CD5

Accessibility & contrast

On white

7.92
#2B4E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2B4E99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4E99
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4E99#FFFFFF#000000##FFFFFF
##2B4E991.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#064C97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2b4e99;
/* rgb */ color: rgb(43, 78, 153);
/* oklch */ color: oklch(44.0% 0.129 263.3);
Tailwind
colors: {
  custom: {
    50: '#737fb7',
    500: '#2b4e99',
    950: '#000000',
  },
}
SCSS
$custom: #2b4e99;
$custom-light: #737fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4e99",
  "rgb": {
    "r": 43,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 220.909,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4403,
    "c": 0.12935,
    "h": 263.3
  },
  "luminance": 0.08262
}

Semantic roles & 50–950 ramp

primary
#2B4E99
secondary
#BCA064
accent
#AF48DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2B4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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