#2B4382#2B4382

#2B4382 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.9% C 0.110 H 265.9°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#2B4382
RGBrgb(43, 67, 130)
HSLhsl(223, 50%, 34%)
HSVhsv(223, 67%, 51%)
CMYKcmyk(66.9%, 48.5%, 0%, 49%)
CIE-LABlab(29.76, 12.65, -38.34)
CIE-LCHlch(29.76, 40.37, 288.26°)
OKLaboklab(39.89% -0.0078 -0.1097)
OKLCHoklch(39.89% 0.11 265.9)
XYZxyz(7.0313, 6.1390, 21.9292)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4382 #826A2B
analogous
#2B6F82 #2B4382 #3F2B82
triadic
#2B4382 #822B43 #43822B
tetradic
#2B4382 #822B6F #826A2B #2B823F
square
#2B4382 #822B6F #826A2B #2B823F
split-complementary
#2B4382 #823F2B #6F822B
monochromatic
#0D1426 #1C2B54 #2B4382 #3A5BB0 #5E7CCA

Accessibility & contrast

On white

9.43
#2B4382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2B4382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4382
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4382#FFFFFF#000000##FFFFFF
##2B43821.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A84
Deuteranopia (green-blind)
#134281
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4382;
/* rgb */ color: rgb(43, 67, 130);
/* oklch */ color: oklch(39.9% 0.110 265.9);
Tailwind
colors: {
  custom: {
    50: '#6e76a7',
    500: '#2b4382',
    950: '#000000',
  },
}
SCSS
$custom: #2b4382;
$custom-light: #6e76a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4382",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 130
  },
  "hsl": {
    "h": 223.448,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.39893,
    "c": 0.10995,
    "h": 265.9
  },
  "luminance": 0.0614
}

Semantic roles & 50–950 ramp

primary
#2B4382
secondary
#B09859
accent
#B34EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2B4382

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

Preview Lab → · Contrast checker → · Palette generator →

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