#2B4096#2B4096

#2B4096 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.8% C 0.143 H 268.8°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#2B4096
RGBrgb(43, 64, 150)
HSLhsl(228, 55%, 38%)
HSVhsv(228, 71%, 59%)
CMYKcmyk(71.3%, 57.3%, 0%, 41.2%)
CIE-LABlab(30.36, 22.31, -49.70)
CIE-LCHlch(30.36, 54.48, 294.18°)
OKLaboklab(40.81% -0.003 -0.1431)
OKLCHoklch(40.81% 0.143 268.8)
XYZxyz(8.3328, 6.3816, 29.6409)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4096 #96812B
analogous
#2B7596 #2B4096 #4B2B96
triadic
#2B4096 #962B40 #40962B
tetradic
#2B4096 #962B75 #96812B #2B964B
square
#2B4096 #962B75 #96812B #2B964B
split-complementary
#2B4096 #964B2B #75962B
monochromatic
#101737 #1D2C66 #2B4096 #3954C6 #687DD4

Accessibility & contrast

On white

9.23
#2B4096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2B4096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4096
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4096#FFFFFF#000000##FFFFFF
##2B40961.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2b4096;
/* rgb */ color: rgb(43, 64, 150);
/* oklch */ color: oklch(40.8% 0.143 268.8);
Tailwind
colors: {
  custom: {
    50: '#7374b6',
    500: '#2b4096',
    950: '#000000',
  },
}
SCSS
$custom: #2b4096;
$custom-light: #7374b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4096",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 228.224,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.40805,
    "c": 0.14317,
    "h": 268.8
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#2B4096
secondary
#BAA963
accent
#C149DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4096

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

Preview Lab → · Contrast checker → · Palette generator →

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