#2B4D96#2B4D96

#2B4D96 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.6% C 0.126 H 263.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2B4D96
RGBrgb(43, 77, 150)
HSLhsl(221, 55%, 38%)
HSVhsv(221, 71%, 59%)
CMYKcmyk(71.3%, 48.7%, 0%, 41.2%)
CIE-LABlab(34.03, 13.54, -43.76)
CIE-LCHlch(34.03, 45.81, 287.19°)
OKLaboklab(43.59% -0.0147 -0.1255)
OKLCHoklch(43.59% 0.126 263.3)
XYZxyz(9.1532, 8.0224, 29.9143)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4D96 #96742B
analogous
#2B8296 #2B4D96 #3F2B96
triadic
#2B4D96 #962B4D #4D962B
tetradic
#2B4D96 #962B82 #96742B #2B963F
square
#2B4D96 #962B82 #96742B #2B963F
split-complementary
#2B4D96 #963F2B #82962B
monochromatic
#101C37 #1D3566 #2B4D96 #3965C6 #688AD4

Accessibility & contrast

On white

8.06
#2B4D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2B4D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4D96
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4D96#FFFFFF#000000##FFFFFF
##2B4D961.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265599
Deuteranopia (green-blind)
#0B4B95
Tritanopia (blue-blind)
#005E6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2b4d96;
/* rgb */ color: rgb(43, 77, 150);
/* oklch */ color: oklch(43.6% 0.126 263.3);
Tailwind
colors: {
  custom: {
    50: '#727eb5',
    500: '#2b4d96',
    950: '#000000',
  },
}
SCSS
$custom: #2b4d96;
$custom-light: #727eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4d96",
  "rgb": {
    "r": 43,
    "g": 77,
    "b": 150
  },
  "hsl": {
    "h": 220.935,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.43589,
    "c": 0.12632,
    "h": 263.3
  },
  "luminance": 0.08023
}

Semantic roles & 50–950 ramp

primary
#2B4D96
secondary
#BA9E63
accent
#AF49DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2B4D96

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

Preview Lab → · Contrast checker → · Palette generator →

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