#2B4B99#2B4B99

#2B4B99 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.133 H 264.7°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#2B4B99
RGBrgb(43, 75, 153)
HSLhsl(223, 56%, 38%)
HSVhsv(223, 72%, 60%)
CMYKcmyk(71.9%, 51%, 0%, 40%)
CIE-LABlab(33.66, 16.03, -46.18)
CIE-LCHlch(33.66, 48.88, 289.14°)
OKLaboklab(43.37% -0.0124 -0.1326)
OKLCHoklch(43.37% 0.133 264.7)
XYZxyz(9.2601, 7.8447, 31.1570)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4B99 #99792B
analogous
#2B8299 #2B4B99 #422B99
triadic
#2B4B99 #992B4B #4B992B
tetradic
#2B4B99 #992B82 #99792B #2B9942
square
#2B4B99 #992B82 #99792B #2B9942
split-complementary
#2B4B99 #99422B #82992B
monochromatic
#101C39 #1E3469 #2B4B99 #3A63C8 #6989D5

Accessibility & contrast

On white

8.17
#2B4B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2B4B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4B99
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4B99#FFFFFF#000000##FFFFFF
##2B4B991.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549C
Deuteranopia (green-blind)
#004A97
Tritanopia (blue-blind)
#005D6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b4b99;
/* rgb */ color: rgb(43, 75, 153);
/* oklch */ color: oklch(43.4% 0.133 264.7);
Tailwind
colors: {
  custom: {
    50: '#737cb8',
    500: '#2b4b99',
    950: '#000000',
  },
}
SCSS
$custom: #2b4b99;
$custom-light: #737cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4b99",
  "rgb": {
    "r": 43,
    "g": 75,
    "b": 153
  },
  "hsl": {
    "h": 222.545,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43371,
    "c": 0.13319,
    "h": 264.7
  },
  "luminance": 0.07846
}

Semantic roles & 50–950 ramp

primary
#2B4B99
secondary
#BCA264
accent
#B348DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B4B99

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

Preview Lab → · Contrast checker → · Palette generator →

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