#2B4399#2B4399

#2B4399 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.144 H 267.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#2B4399
RGBrgb(43, 67, 153)
HSLhsl(227, 56%, 38%)
HSVhsv(227, 72%, 60%)
CMYKcmyk(71.9%, 56.2%, 0%, 40%)
CIE-LABlab(31.41, 21.43, -49.81)
CIE-LCHlch(31.41, 54.23, 293.27°)
OKLaboklab(41.67% -0.0054 -0.1434)
OKLCHoklch(41.67% 0.144 267.9)
XYZxyz(8.7512, 6.8269, 30.9873)
Luminance0.0683 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4399 #99812B
analogous
#2B7A99 #2B4399 #4A2B99
triadic
#2B4399 #992B43 #43992B
tetradic
#2B4399 #992B7A #99812B #2B994A
square
#2B4399 #992B7A #99812B #2B994A
split-complementary
#2B4399 #994A2B #7A992B
monochromatic
#101939 #1E2E69 #2B4399 #3A59C8 #6981D5

Accessibility & contrast

On white

8.88
#2B4399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2B4399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4399
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4399#FFFFFF#000000##FFFFFF
##2B43991.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b4399;
/* rgb */ color: rgb(43, 67, 153);
/* oklch */ color: oklch(41.7% 0.144 267.9);
Tailwind
colors: {
  custom: {
    50: '#7376b8',
    500: '#2b4399',
    950: '#000000',
  },
}
SCSS
$custom: #2b4399;
$custom-light: #7376b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4399",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 226.909,
    "s": 56.122,
    "l": 38.431
  },
  "oklch": {
    "l": 0.41669,
    "c": 0.14354,
    "h": 267.9
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#2B4399
secondary
#BCA864
accent
#BE48DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2B4399

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

Preview Lab → · Contrast checker → · Palette generator →

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