#2B4396#2B4396

#2B4396 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.4% C 0.139 H 267.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2B4396
RGBrgb(43, 67, 150)
HSLhsl(227, 55%, 38%)
HSVhsv(227, 71%, 59%)
CMYKcmyk(71.3%, 55.3%, 0%, 41.2%)
CIE-LABlab(31.18, 20.28, -48.36)
CIE-LCHlch(31.18, 52.44, 292.75°)
OKLaboklab(41.43% -0.0056 -0.1391)
OKLCHoklch(41.43% 0.139 267.7)
XYZxyz(8.5065, 6.7291, 29.6988)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4396 #967E2B
analogous
#2B7896 #2B4396 #482B96
triadic
#2B4396 #962B43 #43962B
tetradic
#2B4396 #962B78 #967E2B #2B9648
square
#2B4396 #962B78 #967E2B #2B9648
split-complementary
#2B4396 #96482B #78962B
monochromatic
#101937 #1D2E66 #2B4396 #3958C6 #6880D4

Accessibility & contrast

On white

8.95
#2B4396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2B4396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4396
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4396#FFFFFF#000000##FFFFFF
##2B43961.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014E99
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2b4396;
/* rgb */ color: rgb(43, 67, 150);
/* oklch */ color: oklch(41.4% 0.139 267.7);
Tailwind
colors: {
  custom: {
    50: '#7376b5',
    500: '#2b4396',
    950: '#000000',
  },
}
SCSS
$custom: #2b4396;
$custom-light: #7376b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4396",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 226.542,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.41426,
    "c": 0.13926,
    "h": 267.7
  },
  "luminance": 0.0673
}

Semantic roles & 50–950 ramp

primary
#2B4396
secondary
#BAA663
accent
#BD49DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4396

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

Preview Lab → · Contrast checker → · Palette generator →

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