#2B4381#2B4381

#2B4381 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.108 H 265.8°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#2B4381
RGBrgb(43, 67, 129)
HSLhsl(223, 50%, 34%)
HSVhsv(223, 67%, 51%)
CMYKcmyk(66.7%, 48.1%, 0%, 49.4%)
CIE-LABlab(29.69, 12.27, -37.82)
CIE-LCHlch(29.69, 39.76, 287.98°)
OKLaboklab(39.82% -0.008 -0.1081)
OKLCHoklch(39.82% 0.108 265.8)
XYZxyz(6.9645, 6.1122, 21.5774)
Luminance0.0611 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B4381 #81692B
analogous
#2B6E81 #2B4381 #3E2B81
triadic
#2B4381 #812B43 #43812B
tetradic
#2B4381 #812B6E #81692B #2B813E
square
#2B4381 #812B6E #81692B #2B813E
split-complementary
#2B4381 #813E2B #6E812B
monochromatic
#0C1325 #1C2B53 #2B4381 #3A5BAF #5D7BC9

Accessibility & contrast

On white

9.45
#2B4381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2B4381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B4381
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B4381#FFFFFF#000000##FFFFFF
##2B43811.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244A83
Deuteranopia (green-blind)
#144280
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b4381;
/* rgb */ color: rgb(43, 67, 129);
/* oklch */ color: oklch(39.8% 0.108 265.8);
Tailwind
colors: {
  custom: {
    50: '#6e76a6',
    500: '#2b4381',
    950: '#000000',
  },
}
SCSS
$custom: #2b4381;
$custom-light: #6e76a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b4381",
  "rgb": {
    "r": 43,
    "g": 67,
    "b": 129
  },
  "hsl": {
    "h": 223.256,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.39821,
    "c": 0.10844,
    "h": 265.8
  },
  "luminance": 0.06113
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B4381

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

Preview Lab → · Contrast checker → · Palette generator →

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